S/390: Make constant checking more strict
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Wed, 2 Dec 2015 08:05:04 +0000 (08:05 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Wed, 2 Dec 2015 08:05:04 +0000 (08:05 +0000)
commite970b4b0002d0bc24cf4461fb0eadd7ee2241cab
tree5886b95940ca6bc627d7dcb2599a207eb8c48166
parent8eb1b59beb4a1216993e4f6185f59ce546d53b83
S/390: Make constant checking more strict

gcc/ChangeLog:

2015-12-02  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* config/s390/predicates.md (const_mask_operand): New predicate.
* config/s390/s390-builtins.def: Set a smaller bitmask for a few builtins.
* config/s390/vector.md: Change predicate from immediate_operand
to either const_int_operand or const_mask_operand.  Add special
insn conditions on patterns which have to exclude certain values.
* config/s390/vx-builtins.md: Likewise.

From-SVN: r231159
gcc/ChangeLog
gcc/config/s390/predicates.md
gcc/config/s390/s390-builtins.def
gcc/config/s390/vector.md
gcc/config/s390/vx-builtins.md