Skip to content

target-i386: fix and enable SSE4.1 and SSE4.2

Aurelien Jarno qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10target-i386: SSE4.1: fix pinsrb instructiontarget-i386/translate.c+2 -21 reply
2/10target-i386: SSE4.2: fix pcmpgtq instructiontarget-i386/ops_sse.h+1 -21 reply
3/10target-i386: SSE4.2: fix pcmpXstri instructionstarget-i386/ops_sse.h+2 -21 reply
4/10target-i386: SSE4.2: fix pcmpXstrm instructionstarget-i386/ops_sse.h+8 -81 reply
5/10target-i386: SSE4.2: fix pcmpXstrX instructions in "Ranges" modetarget-i386/ops_sse.h+2 -21 reply
6/10target-i386: SSE4.2: fix pcmpXstrX instructions in "Equal each" modetarget-i386/ops_sse.h+1 -11 reply
7/10target-i386: SSE4.2: fix pcmpXstrX instructions in "Equal ordered" modetarget-i386/ops_sse.h+3 -21 reply
8/10target-i386: SSE4.2: fix pcmpXstrX instructions with "Masked(-)" polaritytarget-i386/ops_sse.h+1 -11 reply
9/10target-i386: enable SSE4.1 and SSE4.2 in TCG modetarget-i386/cpu.c+7 -61 reply
10/10target-i386: SSE4.2: use clz32/ctz32 instead of reinventing the wheeltarget-i386/fpu_helper.c target-i386/ops_sse.h+3 -301 reply

Reviews trailers per patch

All 10 patches have a Reviewed-by or Acked-by.

PatchRichard Henderson
1/10R-b
2/10R-b
3/10R-b
4/10R-b
5/10R-b
6/10R-b
7/10R-b
8/10R-b
9/10R-b
10/10R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/10] target-i386: fix and enable SSE4.1 and SSE4.2

SSE4.1 and SSE4.2 instruction sets are partly broken, at least enough to render a recent glibc with ifunc enabled unusable.

This patch series fixes the issues, it has been tested with the valgrind testsuite in user mode and by booting x86 and x86-64 guests with a recent glibc in system mode.

Aurelien Jarno (10):
target-i386: SSE4.1: fix pinsrb instruction
target-i386: SSE4.2: fix pcmpgtq instruction
target-i386: SSE4.2: fix pcmpXstri instructions
target-i386: SSE4.2: fix pcmpXstrm instructions
target-i386: SSE4.2: fix pcmpXstrX instructions in "Ranges" mode
target-i386: SSE4.2: fix pcmpXstrX instructions in "Equal each" mode
target-i386: SSE4.2: fix pcmpXstrX instructions in "Equal ordered" mode
target-i386: SSE4.2: fix pcmpXstrX instructions with "Masked(-)" polarity
target-i386: enable SSE4.1 and SSE4.2 in TCG mode
target-i386: SSE4.2: use clz32/ctz32 instead of reinventing the wheel

 target-i386/cpu.c        |   13 +++++-----
 target-i386/fpu_helper.c |    1 +
 target-i386/ops_sse.h    |   64 +++++++++++++---------------------------------
 target-i386/translate.c  |    4 +--
 4 files changed, 28 insertions(+), 54 deletions(-)
Signature · 1 line
1.7.10.4