]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Add BLENDPS and PBLENDW support for x86 32 bit
authorAlexandra Hájková <ahajkova@redhat.com>
Fri, 30 Jan 2026 10:06:17 +0000 (05:06 -0500)
committerAlexandra Hájková <ahajkova@redhat.com>
Wed, 4 Feb 2026 18:13:57 +0000 (19:13 +0100)
commit47eb47d22c4934812bb6a16124bf7d90f4dd29d2
treea9b659d5f83edb1a19dac4e8fb7835e8064a2612
parent1500915a838da9f7013e8721bf4bb02b0dc3072f
Add BLENDPS and PBLENDW support for x86 32 bit

Add decode_sse4_blend_imm which allows to reuse BLENDPD decoder code
for BLENDPS and PBLENDW. Moved math_BLENDPS_128, math_PBLENDW_128
and math_PBLENDVB_128 from VEX/priv/guest_amd64_toIR.c
to VEX/priv/guest_generic_sse.h to be able to reuse existing amd64 code
for x86 implementation.

Moved test_BLENDPS and test_PBLENDW from none/tests/amd64/sse4-64.c to
none/tests/sse4-common.h and updated the expected tests output to match
the new implementation. Removed vassert(0) in VEX/priv/host_x86_defs.c
in push_word_from_tags in order for test_PBLENDW to be able to pass.

BZ: https://bugs.kde.org/show_bug.cgi?id=515265
NEWS
VEX/priv/guest_amd64_toIR.c
VEX/priv/guest_generic_sse.h
VEX/priv/guest_x86_toIR.c
VEX/priv/host_x86_defs.c
none/tests/amd64/sse4-64.c
none/tests/sse4-common.h
none/tests/x86/sse4-x86.c
none/tests/x86/sse4-x86.stdout.exp