S/390: Reject long disp for vector load/store early
authorAndreas Krebbel <krebbel@linux.ibm.com>
Wed, 3 Apr 2019 11:26:09 +0000 (11:26 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Wed, 3 Apr 2019 11:26:09 +0000 (11:26 +0000)
commit615792b72e34b084e4aa69aad7789f2ee30e2eed
tree951bd2a81afd789a5e3279cfc162d619f2281405
parent487efcfdaca9cf95a4976b096d632cfff4dc22de
S/390: Reject long disp for vector load/store early

The vector memory instructions only support short displacements.
Reject invalid displacements early to prevent plenty of lay
instructions to be generated later which then cannot be merged
properly.

gcc/ChangeLog:

2019-04-03  Andreas Krebbel  <krebbel@linux.ibm.com>

* config/s390/s390.c (s390_legitimate_address_p): Reject long
displacement addresses for vector mode operands.

From-SVN: r270122
gcc/ChangeLog
gcc/config/s390/s390.c