Re: [PATCH] S/390: Allow immediates in loc expander

2018-10-26 Thread Andreas Krebbel
On 10/26/18 5:31 PM, Robin Dapp wrote: > Hi, > > this is v2 of the patch. The Z13 check has been moved from the > predicate to the expander. In addition, it changes a test case to > always run with -march=zEC12 because from z13 on the load immediate on > condition will prevent loop hoisting that

Re: [PATCH] S/390: Allow immediates in loc expander

2018-10-26 Thread Robin Dapp
Hi, this is v2 of the patch. The Z13 check has been moved from the predicate to the expander. In addition, it changes a test case to always run with -march=zEC12 because from z13 on the load immediate on condition will prevent loop hoisting that the test requires. Regards Robin -- gcc/Change

[PATCH] S/390: Allow immediates in loc expander

2018-10-17 Thread Robin Dapp
Hi, this allows immediates in the load-on-condition expander on z13 or later. Regtested on z14. Regards Robin -- gcc/ChangeLog: 2018-10-17 Robin Dapp * config/s390/predicates.md: Allow immediate operand in loc_operand for z13. * config/s390/s390.md: Use loc_operan