[PATCH V2 0/3] x86: Optimize the encoder of the vvvv register
Cui, Lili
lili.cui@intel.com
Tue Apr 30 10:40:01 GMT 2024
These patches want to optimize the encoder of the vvvv register.
Previously we used Vexvvvv, SWAP_SOURCES and extension_opcode to help encode the vvvv register, these patches simplified the logic to only use vexvvvv and added appropriate Vexvvvv values for the related instructions.
V2: Added more comments in the code and removed changes to the SwapSources template and push2/POP2 to avoid modifying some places twice.
Cui, Lili (3):
x86: Use vexvvvv as the switch state to encode the vvvv register
x86: Drop SwapSources
x86: Drop using extension_opcode to encode vvvv register
gas/config/tc-i386.c | 58 +-
gas/testsuite/gas/i386/x86-64-sse2avx.d | 7 +
gas/testsuite/gas/i386/x86-64-sse2avx.s | 7 +
opcodes/i386-opc.h | 21 +-
opcodes/i386-opc.tbl | 1156 ++++++++++++-----------
5 files changed, 635 insertions(+), 614 deletions(-)
--
2.34.1
More information about the Binutils
mailing list