public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH V2 0/3] x86: Optimize the encoder of the vvvv register
@ 2024-04-30 10:40 Cui, Lili
  2024-04-30 10:40 ` [PATCH v2 1/3] x86: Use vexvvvv as the switch state to encode " Cui, Lili
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Cui, Lili @ 2024-04-30 10:40 UTC (permalink / raw)
  To: binutils; +Cc: hjl.tools, jbeulich

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-04-30 15:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-30 10:40 [PATCH V2 0/3] x86: Optimize the encoder of the vvvv register Cui, Lili
2024-04-30 10:40 ` [PATCH v2 1/3] x86: Use vexvvvv as the switch state to encode " Cui, Lili
2024-04-30 15:27   ` Jan Beulich
2024-04-30 10:40 ` [PATCH V2 2/3] x86: Drop SwapSources Cui, Lili
2024-04-30 15:28   ` Jan Beulich
2024-04-30 10:40 ` [PATCH V2 3/3] x86: Drop using extension_opcode to encode vvvv register Cui, Lili

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).