All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] tcg/i386: Improve 8-bit shifts with VGF2P8AFFINEQB
@ 2025-08-09 23:42 Richard Henderson
  2025-08-09 23:42 ` [PATCH 1/3] cpuinfo/i386: Detect GFNI as an AVX extension Richard Henderson
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Richard Henderson @ 2025-08-09 23:42 UTC (permalink / raw)
  To: qemu-devel

x86 doesn't directly support 8-bit vector shifts, so we have
some 2 to 5 insn expansions.  With VGF2P8AFFINEQB, we can do
it in 1 insn, plus a (possibly shared) constant load.


r~


Richard Henderson (3):
  cpuinfo/i386: Detect GFNI as an AVX extension
  tcg/i386: Add INDEX_op_x86_vgf2p8affineqb_vec
  tcg/i386: Use vgf2p8affineqb for MO_8 vector shifts

 host/include/i386/host/cpuinfo.h |  1 +
 include/qemu/cpuid.h             |  3 ++
 util/cpuinfo-i386.c              |  1 +
 tcg/i386/tcg-target-opc.h.inc    |  1 +
 tcg/i386/tcg-target.c.inc        | 81 ++++++++++++++++++++++++++++++--
 5 files changed, 83 insertions(+), 4 deletions(-)

-- 
2.43.0



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

end of thread, other threads:[~2025-08-27  9:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-09 23:42 [PATCH 0/3] tcg/i386: Improve 8-bit shifts with VGF2P8AFFINEQB Richard Henderson
2025-08-09 23:42 ` [PATCH 1/3] cpuinfo/i386: Detect GFNI as an AVX extension Richard Henderson
2025-08-09 23:42 ` [PATCH 2/3] tcg/i386: Add INDEX_op_x86_vgf2p8affineqb_vec Richard Henderson
2025-08-09 23:42 ` [PATCH 3/3] tcg/i386: Use vgf2p8affineqb for MO_8 vector shifts Richard Henderson
2025-08-27  7:26 ` [PATCH 0/3] tcg/i386: Improve 8-bit shifts with VGF2P8AFFINEQB Richard Henderson
2025-08-27  8:12   ` Paolo Bonzini
2025-08-27  9:34     ` Richard Henderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.