Re: [Patch] S/390: Simplify vector conditionals

2015-12-18 Thread Andreas Krebbel
On 12/17/2015 10:51 AM, Robin Dapp wrote: > 2015-12-15 Robin Dapp > > * config/s390/predicates.md: Change and rename > constm1_operand to all_ones_operand > * config/s390/s390.c (s390_expand_vcond): Use all_ones_operand > * config/s390/vector.md: Likewise Applied. Thanks

Re: [Patch] S/390: Simplify vector conditionals

2015-12-18 Thread Andreas Krebbel
On 12/15/2015 10:53 AM, Robin Dapp wrote: > gcc/ChangeLog: > > 2015-12-15 Robin Dapp > > * config/s390/s390.c (s390_expand_vcond): Convert vector > conditional into shift. > * config/s390/vector.md: Change operand predicate. > > gcc/testsuite/ChangeLog: > > 2015-12-15

Re: [Patch] S/390: Simplify vector conditionals

2015-12-17 Thread Robin Dapp
Hi, the attached patch renames the constm1_operand predicate to all_ones_operand and introduces a check for int mode. It should be applied on top of the last patch ([Patch] S/390: Simplify vector conditionals). Regtested on s390. Regards Robin gcc/ChangeLog: 2015-12-15 Robin Dapp *