]> git.ipfire.org Git - thirdparty/valgrind.git/commit
s390x: Fix down-cast from memory operand with size < 8
authorAndreas Arnez <arnez@linux.ibm.com>
Tue, 10 Mar 2020 16:18:48 +0000 (17:18 +0100)
committerAndreas Arnez <arnez@linux.ibm.com>
Fri, 13 Mar 2020 18:12:47 +0000 (19:12 +0100)
commitb9a4f7d7ca98487e7b66c2c56bc0c9ea7fe6776b
tree393fa9c0c74149f3aa934b1fd3309f5e47b6dc96
parentb4ce6da03a8c886e1fab14eaa1f9b4f091308c3d
s390x: Fix down-cast from memory operand with size < 8

A down-cast always copies 8 bytes from the source operand, even if the
operand is actually smaller.  This doesn't matter for register operands,
but it does for memory operands.  Fix this and copy the correct number of
bytes instead.
VEX/priv/host_s390_isel.c