aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/epiphany/predicates.md
diff options
context:
space:
mode:
authorJoern Rennecke <amylaar@gcc.gnu.org>2012-11-28 16:03:00 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2012-11-28 16:03:00 +0000
commite9aff0f685e9808d26f7a4509baac1ce42ff4b2c (patch)
tree05d567caab4bdf16c7722f64c244f706413dc2c6 /gcc/config/epiphany/predicates.md
parent0ccfc3ab15eae2a3f46ad30e842c2e5383297be8 (diff)
downloadgcc-e9aff0f685e9808d26f7a4509baac1ce42ff4b2c.zip
gcc-e9aff0f685e9808d26f7a4509baac1ce42ff4b2c.tar.gz
gcc-e9aff0f685e9808d26f7a4509baac1ce42ff4b2c.tar.bz2
Adjust last change to plus_constant change.
From-SVN: r193895
Diffstat (limited to 'gcc/config/epiphany/predicates.md')
-rw-r--r--gcc/config/epiphany/predicates.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/epiphany/predicates.md b/gcc/config/epiphany/predicates.md
index f47f832..52c07b6 100644
--- a/gcc/config/epiphany/predicates.md
+++ b/gcc/config/epiphany/predicates.md
@@ -165,7 +165,7 @@
(match_code "reg,subreg,mem,const_int,const_double,const_vector")
{
if (GET_CODE (op) == MEM && misaligned_operand (op, mode)
- && !address_operand (plus_constant (XEXP (op, 0), 4), SImode))
+ && !address_operand (plus_constant (Pmode, XEXP (op, 0), 4), SImode))
return 0;
return general_operand (op, mode);
})
@@ -192,7 +192,7 @@
}
case MEM :
if (GET_MODE_SIZE (mode) == 8 && misaligned_operand (op, mode)
- && !address_operand (plus_constant (XEXP (op, 0), 4), SImode))
+ && !address_operand (plus_constant (Pmode, XEXP (op, 0), 4), SImode))
return 0;
return address_operand (XEXP (op, 0), mode);
default :