]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Powerpc 32bit, fix the vbpermq support
authorCarl Love <cel@us.ibm.com>
Tue, 5 Apr 2022 01:31:33 +0000 (21:31 -0400)
committerCarl Love <cel@us.ibm.com>
Tue, 5 Apr 2022 01:45:50 +0000 (01:45 +0000)
commitbc4dc04d5f23e363a79bade6dee475e9c2287c93
treebb3c5ea12a8dbb5e3ee2c7c41e2fbb408158f0a9
parent615731617bc7478ecfaa756cc861321e5fc3659b
Powerpc 32bit, fix the vbpermq support

Passing the two 128-bit vA and vB arguments doesn't work in 32-bit mode.
The clean helper was changed to compute the result for 8 indexes.  The
helper is then called twice to get the result for the upper 64-bits of the
vB register and the lower 64-bits of the vB register.

The patch is an additional fix for bugzilla 451827.
VEX/priv/guest_ppc_defs.h
VEX/priv/guest_ppc_helpers.c
VEX/priv/guest_ppc_toIR.c