]> git.ipfire.org Git - thirdparty/valgrind.git/commit
s390x: Improve isel for Iop_V128to64 and friends
authorAndreas Arnez <arnez@linux.ibm.com>
Fri, 5 Mar 2021 19:16:46 +0000 (20:16 +0100)
committerAndreas Arnez <arnez@linux.ibm.com>
Wed, 10 Mar 2021 16:40:58 +0000 (17:40 +0100)
commit6ed09a6603d357f60f363049e383d7b90070c1da
treeb0fd55f2b163db6b20e2eb78d6550691ec8c2d8b
parent19dc8c467edf3c10a2e3a19a87853f8dc2156e92
s390x: Improve isel for Iop_V128to64 and friends

The existing instruction selector for Iop_V128to64, Iop_V128HIto64, and
Iop_V128to32 stores the vector register on the stack and then reads the
requested integer value back from the stack into the target GPR.  This is
fairly inefficient.

Load the requested value directly from the vector register into the target
GPR instead, using S390_VEC_GET_ELEM.
VEX/priv/host_s390_isel.c