aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorMichael Meissner <meissner@linux.vnet.ibm.com>2011-02-15 18:42:59 +0000
committerMichael Meissner <meissner@gcc.gnu.org>2011-02-15 18:42:59 +0000
commite3a69bb44f336a3f388cb9cd51dd7f966accf453 (patch)
treeceeafe510f70d4facde86866e9c2cd0127751862 /gcc/config
parentde650422167b7a651474426acb164bd52f2e53d7 (diff)
downloadgcc-e3a69bb44f336a3f388cb9cd51dd7f966accf453.zip
gcc-e3a69bb44f336a3f388cb9cd51dd7f966accf453.tar.gz
gcc-e3a69bb44f336a3f388cb9cd51dd7f966accf453.tar.bz2
Fix PR 47755
From-SVN: r170189
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/rs6000/predicates.md8
1 files changed, 3 insertions, 5 deletions
diff --git a/gcc/config/rs6000/predicates.md b/gcc/config/rs6000/predicates.md
index db630f5..1d06cae 100644
--- a/gcc/config/rs6000/predicates.md
+++ b/gcc/config/rs6000/predicates.md
@@ -328,13 +328,11 @@
if (TARGET_PAIRED_FLOAT)
return false;
- if ((VSX_VECTOR_MODE (mode) || mode == TImode) && zero_constant (op, mode))
- return true;
-
- if (ALTIVEC_VECTOR_MODE (mode))
+ if (VECTOR_MEM_ALTIVEC_OR_VSX_P (mode))
{
if (zero_constant (op, mode))
- return true;
+ return true;
+
return easy_altivec_constant (op, mode);
}