]> git.ipfire.org Git - thirdparty/valgrind.git/commit
s390x: Actually use "load on condition" for conditional moves
authorAndreas Arnez <arnez@linux.ibm.com>
Fri, 13 Mar 2020 16:20:20 +0000 (17:20 +0100)
committerAndreas Arnez <arnez@linux.ibm.com>
Fri, 13 Mar 2020 19:35:45 +0000 (20:35 +0100)
commit95df121886a398f2bf5205eb63d5a9bceca5a764
tree9c603e15a017dac61931e2d621d4a00c51b1ec36
parentb0eb7193a52c562bb25fd605781f4d8d05c21d52
s390x: Actually use "load on condition" for conditional moves

Although the implementation of the cond_move insn is prepared to emit
"load on condition" instructions, it doesn't, because of a reversed check.
The check is supposed to prevent emitting LOCx instructions when the
condition code mask is set to "always", but it's accidentally negated.
Fix the reversal of the check, so LOCx instructions are actually emitted
when applicable.
VEX/priv/host_s390_defs.c