]> git.ipfire.org Git - thirdparty/valgrind.git/commit
s390x: Mark VRs as clobbered by helper calls
authorAndreas Arnez <arnez@linux.ibm.com>
Fri, 13 Mar 2020 16:18:55 +0000 (17:18 +0100)
committerAndreas Arnez <arnez@linux.ibm.com>
Fri, 13 Mar 2020 18:04:06 +0000 (19:04 +0100)
commitb4ce6da03a8c886e1fab14eaa1f9b4f091308c3d
treed9ce83651050635e5a003866cd108c460e4544d4
parent95bde348622823a7c8d6167199f7c54313848e56
s390x: Mark VRs as clobbered by helper calls

According to the s390x ABI, all vector registers are call-clobbered
(except for their portions that overlap with the call-saved FPRs).  But
the s390x backend doesn't mark them as such when determining the register
usage of helper call insns.

Fix this in s390_insn_get_reg_usage when handling S390_INSN_HELPER_CALL.
VEX/priv/host_s390_defs.c