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
+2015-06-24 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
+
+ * config/s390/s390.c (s390_legitimate_constant_p): Add
+ TARGET_VX check.
+
2015-06-24 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* config/s390/s390.c (s390_vector_abi): New variable definition.
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;