Commit 09eeca5e by John David Anglin Committed by John David Anglin

* pa.md (prefetch_32, prefetch_64): Simplify constraint checks.

From-SVN: r84310
parent ef22126d
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> 2004-07-08 Zack Weinberg <zack@codesourcery.com>
* c-decl.c (static_ctors, static_dtors): Make static. * c-decl.c (static_ctors, static_dtors): Make static.
......
...@@ -9393,12 +9393,9 @@ add,l %2,%3,%3\;bv,n %%r0(%3)" ...@@ -9393,12 +9393,9 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
(match_operand:DI 2 "const_int_operand" "n,n"))] (match_operand:DI 2 "const_int_operand" "n,n"))]
"TARGET_64BIT "TARGET_64BIT
&& (operands[2] != const0_rtx && (operands[2] != const0_rtx
|| REG_P (XEXP (operands[0], 0)) || GET_CODE (XEXP (operands[0], 0)) != PLUS
|| IS_INDEX_ADDR_P (XEXP (operands[0], 0)) || GET_CODE (XEXP (XEXP (operands[0], 0), 1)) != CONST_INT
|| (GET_CODE (XEXP (operands[0], 0)) == PLUS || VAL_5_BITS_P (XEXP (XEXP (operands[0], 0), 1)))"
&& 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))))"
{ {
/* The SL completor indicates good spatial locality but poor temporal /* The SL completor indicates good spatial locality but poor temporal
locality. The ldw instruction with a target of general register 0 locality. The ldw instruction with a target of general register 0
...@@ -9448,12 +9445,9 @@ add,l %2,%3,%3\;bv,n %%r0(%3)" ...@@ -9448,12 +9445,9 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
(match_operand:SI 2 "const_int_operand" "n,n"))] (match_operand:SI 2 "const_int_operand" "n,n"))]
"TARGET_PA_20 "TARGET_PA_20
&& (operands[2] != const0_rtx && (operands[2] != const0_rtx
|| REG_P (XEXP (operands[0], 0)) || GET_CODE (XEXP (operands[0], 0)) != PLUS
|| IS_INDEX_ADDR_P (XEXP (operands[0], 0)) || GET_CODE (XEXP (XEXP (operands[0], 0), 1)) != CONST_INT
|| (GET_CODE (XEXP (operands[0], 0)) == PLUS || VAL_5_BITS_P (XEXP (XEXP (operands[0], 0), 1)))"
&& 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))))"
{ {
/* The SL completor indicates good spatial locality but poor temporal /* The SL completor indicates good spatial locality but poor temporal
locality. The ldw instruction with a target of general register 0 locality. The ldw instruction with a target of general register 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment