diff options
author | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2015-06-24 06:38:32 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2015-06-24 06:38:32 +0000 |
commit | 0600d22cbb5a667ed8277298a826608a2c545c9d (patch) | |
tree | 414d8695fe9b9cdc08cfd26c73f04786202296ee /gcc/config | |
parent | 45901378cdf6b6c275e0f7553b8b6f8c76b417d4 (diff) | |
download | gcc-0600d22cbb5a667ed8277298a826608a2c545c9d.zip gcc-0600d22cbb5a667ed8277298a826608a2c545c9d.tar.gz gcc-0600d22cbb5a667ed8277298a826608a2c545c9d.tar.bz2 |
S/390: Limit legitimate_constant_p changes to TARGET_VX.
gcc/ChangeLog:
2015-06-23 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* config/s390/s390.c (s390_legitimate_constant_p): Add
TARGET_VX check.
From-SVN: r224868
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/s390/s390.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 4408d4c..ae5e9ab 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -3602,7 +3602,7 @@ legitimate_pic_operand_p (rtx op) static bool s390_legitimate_constant_p (machine_mode mode, rtx op) { - if (VECTOR_MODE_P (mode) && GET_CODE (op) == CONST_VECTOR) + if (TARGET_VX && VECTOR_MODE_P (mode) && GET_CODE (op) == CONST_VECTOR) { if (GET_MODE_SIZE (mode) != 16) return 0; |