aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>2016-04-29 09:17:35 +0000
committerAndreas Krebbel <krebbel@gcc.gnu.org>2016-04-29 09:17:35 +0000
commitae1c6198f9a6da7bee7bd4d7276b64781eae377a (patch)
tree862051704ad7057867536ddf07eccd300a1ce886 /gcc/fold-const.c
parent3e4be43f69daddc9123f5c2f8129311e0a702ef6 (diff)
downloadgcc-ae1c6198f9a6da7bee7bd4d7276b64781eae377a.zip
gcc-ae1c6198f9a6da7bee7bd4d7276b64781eae377a.tar.gz
gcc-ae1c6198f9a6da7bee7bd4d7276b64781eae377a.tar.bz2
S/390: Replace LDER with LDR.
For performance reasons it is important to write the full 64 bits of an FPR target reg even when dealing with 32 bit values. So we chose lder over ler for 32 bit float register moves. lder zero-extends the 32 bit value from the source reg to 64 bit in the target. However, since it actually doesn't matter whether we write the upper 32 bits with zeros or with any other garbage we can also use ldr instead. It is bit shorter and therefore will do good for I-Cache usage. gcc/ChangeLog: 2016-04-29 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * config/s390/2964.md ("z13_unit_fxu", "z13_0"): Remove lder. * config/s390/s390.md ("movsi_larl", "*movsi_esa", "mov<mode>"): Change lder to ldr. * config/s390/vector.md ("mov<mode>"): Likewise. From-SVN: r235627
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions