]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Bug 400490 s390x: Fix register allocation for VRs vs FPRs
authorAndreas Arnez <arnez@linux.ibm.com>
Thu, 25 Oct 2018 11:47:12 +0000 (13:47 +0200)
committerAndreas Arnez <arnez@linux.ibm.com>
Wed, 14 Nov 2018 15:20:44 +0000 (16:20 +0100)
commit71002d8a5111d02ce8049c55017a8d948c820e35
tree0827681162f8b74968ca04bfbbec001a0866a2ea
parent1d42a625abd8b6d24186e6bda2b401ee24a118c4
Bug 400490 s390x: Fix register allocation for VRs vs FPRs

On s390x, if vector registers are available, they are fed to the register
allocator as if they were separate from the floating-point registers.  But
in fact the FPRs are embedded in the VRs.  So for instance, if both f3 and
v3 are allocated and used at the same time, corruption will result.

This is fixed by offering only the non-overlapping VRs, v16 to v31, to the
register allocator instead.
NEWS
VEX/priv/host_s390_defs.c