Re: [PATCH 0/9] S/390 rework shift count handling - v3

2016-03-01 Thread Andreas Krebbel
On 02/29/2016 03:58 PM, Ulrich Weigand wrote: > Andreas Krebbel wrote: > >> S/390: Use enabled attribute overrides to disable alternatives. >> S/390: Get rid of Y constraint in rotate patterns. >> S/390: Get rid of Y constraint in left and logical right shift >> patterns. >> S/390: Get

Re: [PATCH 0/9] S/390 rework shift count handling - v3

2016-02-29 Thread Ulrich Weigand
Andreas Krebbel wrote: > S/390: Use enabled attribute overrides to disable alternatives. > S/390: Get rid of Y constraint in rotate patterns. > S/390: Get rid of Y constraint in left and logical right shift > patterns. > S/390: Get rid of Y constraint in arithmetic right shift patterns

[PATCH 0/9] S/390 rework shift count handling - v3

2016-02-29 Thread Andreas Krebbel
here is an updated version of the shift count rework in the S/390 backend. Bootstrapped and regtested on s390 and s390x --with-arch=z196,zEC12,z13 Changes: - Merge the address reg and immediate alternatives as suggested in: https://gcc.gnu.org/ml/gcc-patches/2016-02/msg01744.html - Add constr

[PATCH 0/9] S/390 rework shift count handling - v2

2016-02-23 Thread Andreas Krebbel
This is an updated version of the shift count rework in the S/390 backend. I think I've addressed most of the feedback from Ulrich and Bernd (gensupport patch). https://gcc.gnu.org/ml/gcc-patches/2016-01/msg00940.html Andreas Krebbel (9): gensupport: Fix define_subst operand renumbering. S/3

[PATCH 0/9] S/390 rework shift count handling

2016-01-14 Thread Andreas Krebbel
On S/390 we have address style shift counts. So it is possible to have a reg + const_int shift count. To address this it appeared to be convenient to really handle this as address operand. For that reason the "Y" constraint used for shift counts is an extra memory constraint. Unfortunately a sh