]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Fix a bug in insn selection. For some reason Iop_1UtoXYZ did no
authorFlorian Krohm <florian@eich-krohm.de>
Sat, 4 Aug 2012 04:25:30 +0000 (04:25 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Sat, 4 Aug 2012 04:25:30 +0000 (04:25 +0000)
commitd05e1e0828f117fe14d19ada316a91c81fd5fb3d
tree0988b3ad6d281b626187a343e6bde3486d5f2a38
parent593b9f4b92df820e41390f6d5d839cce134240cc
Fix a bug in insn selection. For some reason Iop_1UtoXYZ did no
zero-extension. That is essential, as not all computation is donw
using 8-byte values.
For example
- do a 64-bit computation in r1; assume leftmost 4 bytes != 0
- do a 32-bit computation in r1; leftmost 4 bytes are untouched != 0
- do 32to1 on r1; rightmost 4 bytes == 1; leftmost 4 bytes != 0
- do 1Uto64 on r1
Without zero-extension r1 will contain a value that is not boolean

git-svn-id: svn://svn.valgrind.org/vex/trunk@2458
VEX/priv/host_s390_isel.c