https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87762
--- Comment #3 from iii at gcc dot gnu.org --- Author: iii Date: Tue Nov 6 13:20:21 2018 New Revision: 265844 URL: https://gcc.gnu.org/viewcvs?rev=265844&root=gcc&view=rev Log: S/390: Introduce relative_long attribute In order to properly fix PR87762, we need to distinguish between instructions which support relative addressing and instructions which don't. We could check whether the existing "type" attribute is equal to "larl", but there are notable exceptions (lrl, for example), and changing them makes scheduling worse on z10. We could also check whether the existing "op_type" attribute is equal to "RIL-b" or "RIL-c". However, adding a new attribute provides more flexibility, since we don't depend idiosyncrasies which might be introduced into PoP in the future. gcc/ChangeLog: 2018-11-06 Ilya Leoshkevich <i...@linux.ibm.com> PR target/87762 * config/s390/s390.md: Add relative_long attribute. Modified: trunk/gcc/ChangeLog trunk/gcc/config/s390/s390.md