aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>2004-07-08 20:21:00 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2004-07-08 20:21:00 +0000
commit09eeca5e301971b7ff49d0432b5352ff11aa4f91 (patch)
tree5cbd31d8aca2f0918783be651a82cbeb8ed85339 /gcc
parentef22126d1be677e6cdb3051bdae18e91dc59bf7b (diff)
downloadgcc-09eeca5e301971b7ff49d0432b5352ff11aa4f91.zip
gcc-09eeca5e301971b7ff49d0432b5352ff11aa4f91.tar.gz
gcc-09eeca5e301971b7ff49d0432b5352ff11aa4f91.tar.bz2
* pa.md (prefetch_32, prefetch_64): Simplify constraint checks.
From-SVN: r84310
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/pa/pa.md18
2 files changed, 10 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 01d0554..e568892 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2004-07-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ * pa.md (prefetch_32, prefetch_64): Simplify constraint checks.
+
2004-07-08 Zack Weinberg <zack@codesourcery.com>
* c-decl.c (static_ctors, static_dtors): Make static.
diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md
index 291013e..2658854 100644
--- a/gcc/config/pa/pa.md
+++ b/gcc/config/pa/pa.md
@@ -9393,12 +9393,9 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
(match_operand:DI 2 "const_int_operand" "n,n"))]
"TARGET_64BIT
&& (operands[2] != const0_rtx
- || REG_P (XEXP (operands[0], 0))
- || IS_INDEX_ADDR_P (XEXP (operands[0], 0))
- || (GET_CODE (XEXP (operands[0], 0)) == PLUS
- && REG_P (XEXP (XEXP (operands[0], 0), 0))
- && GET_CODE (XEXP (XEXP (operands[0], 0), 1)) == CONST_INT
- && VAL_5_BITS_P (XEXP (XEXP (operands[0], 0), 1))))"
+ || GET_CODE (XEXP (operands[0], 0)) != PLUS
+ || GET_CODE (XEXP (XEXP (operands[0], 0), 1)) != CONST_INT
+ || VAL_5_BITS_P (XEXP (XEXP (operands[0], 0), 1)))"
{
/* The SL completor indicates good spatial locality but poor temporal
locality. The ldw instruction with a target of general register 0
@@ -9448,12 +9445,9 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
(match_operand:SI 2 "const_int_operand" "n,n"))]
"TARGET_PA_20
&& (operands[2] != const0_rtx
- || REG_P (XEXP (operands[0], 0))
- || IS_INDEX_ADDR_P (XEXP (operands[0], 0))
- || (GET_CODE (XEXP (operands[0], 0)) == PLUS
- && REG_P (XEXP (XEXP (operands[0], 0), 0))
- && GET_CODE (XEXP (XEXP (operands[0], 0), 1)) == CONST_INT
- && VAL_5_BITS_P (XEXP (XEXP (operands[0], 0), 1))))"
+ || GET_CODE (XEXP (operands[0], 0)) != PLUS
+ || GET_CODE (XEXP (XEXP (operands[0], 0), 1)) != CONST_INT
+ || VAL_5_BITS_P (XEXP (XEXP (operands[0], 0), 1)))"
{
/* The SL completor indicates good spatial locality but poor temporal
locality. The ldw instruction with a target of general register 0