Commit edd54d25 by David Edelsohn Committed by David Edelsohn

rs6000.md: Mark all "X" constraints for clobbered scratch with output modifier.

	* config/rs6000/rs6000.md: Mark all "X" constraints for clobbered
	scratch with output modifier.

From-SVN: r113555
parent 6ec13f0b
2006-05-05 David Edelsohn <edesohn@gnu.org>
* config/rs6000/rs6000.md: Mark all "X" constraints for clobbered
scratch with output modifier.
2006-05-04 David Edelsohn <edelsohn@gnu.org> 2006-05-04 David Edelsohn <edelsohn@gnu.org>
PR target/26481 PR target/26481
......
...@@ -8986,7 +8986,7 @@ ...@@ -8986,7 +8986,7 @@
[(match_parallel 0 "store_multiple_operation" [(match_parallel 0 "store_multiple_operation"
[(set (mem:SI (match_operand:SI 1 "gpc_reg_operand" "b")) [(set (mem:SI (match_operand:SI 1 "gpc_reg_operand" "b"))
(match_operand:SI 2 "gpc_reg_operand" "r")) (match_operand:SI 2 "gpc_reg_operand" "r"))
(clobber (match_scratch:SI 3 "X")) (clobber (match_scratch:SI 3 "=X"))
(set (mem:SI (plus:SI (match_dup 1) (const_int 4))) (set (mem:SI (plus:SI (match_dup 1) (const_int 4)))
(match_operand:SI 4 "gpc_reg_operand" "r")) (match_operand:SI 4 "gpc_reg_operand" "r"))
(set (mem:SI (plus:SI (match_dup 1) (const_int 8))) (set (mem:SI (plus:SI (match_dup 1) (const_int 8)))
...@@ -9009,7 +9009,7 @@ ...@@ -9009,7 +9009,7 @@
[(match_parallel 0 "store_multiple_operation" [(match_parallel 0 "store_multiple_operation"
[(set (mem:SI (match_operand:SI 1 "gpc_reg_operand" "b")) [(set (mem:SI (match_operand:SI 1 "gpc_reg_operand" "b"))
(match_operand:SI 2 "gpc_reg_operand" "r")) (match_operand:SI 2 "gpc_reg_operand" "r"))
(clobber (match_scratch:SI 3 "X")) (clobber (match_scratch:SI 3 "=X"))
(set (mem:SI (plus:SI (match_dup 1) (const_int 4))) (set (mem:SI (plus:SI (match_dup 1) (const_int 4)))
(match_operand:SI 4 "gpc_reg_operand" "r")) (match_operand:SI 4 "gpc_reg_operand" "r"))
(set (mem:SI (plus:SI (match_dup 1) (const_int 8))) (set (mem:SI (plus:SI (match_dup 1) (const_int 8)))
...@@ -9030,7 +9030,7 @@ ...@@ -9030,7 +9030,7 @@
[(match_parallel 0 "store_multiple_operation" [(match_parallel 0 "store_multiple_operation"
[(set (mem:SI (match_operand:SI 1 "gpc_reg_operand" "b")) [(set (mem:SI (match_operand:SI 1 "gpc_reg_operand" "b"))
(match_operand:SI 2 "gpc_reg_operand" "r")) (match_operand:SI 2 "gpc_reg_operand" "r"))
(clobber (match_scratch:SI 3 "X")) (clobber (match_scratch:SI 3 "=X"))
(set (mem:SI (plus:SI (match_dup 1) (const_int 4))) (set (mem:SI (plus:SI (match_dup 1) (const_int 4)))
(match_operand:SI 4 "gpc_reg_operand" "r")) (match_operand:SI 4 "gpc_reg_operand" "r"))
(set (mem:SI (plus:SI (match_dup 1) (const_int 8))) (set (mem:SI (plus:SI (match_dup 1) (const_int 8)))
...@@ -9049,7 +9049,7 @@ ...@@ -9049,7 +9049,7 @@
[(match_parallel 0 "store_multiple_operation" [(match_parallel 0 "store_multiple_operation"
[(set (mem:SI (match_operand:SI 1 "gpc_reg_operand" "b")) [(set (mem:SI (match_operand:SI 1 "gpc_reg_operand" "b"))
(match_operand:SI 2 "gpc_reg_operand" "r")) (match_operand:SI 2 "gpc_reg_operand" "r"))
(clobber (match_scratch:SI 3 "X")) (clobber (match_scratch:SI 3 "=X"))
(set (mem:SI (plus:SI (match_dup 1) (const_int 4))) (set (mem:SI (plus:SI (match_dup 1) (const_int 4)))
(match_operand:SI 4 "gpc_reg_operand" "r")) (match_operand:SI 4 "gpc_reg_operand" "r"))
(set (mem:SI (plus:SI (match_dup 1) (const_int 8))) (set (mem:SI (plus:SI (match_dup 1) (const_int 8)))
...@@ -9066,7 +9066,7 @@ ...@@ -9066,7 +9066,7 @@
[(match_parallel 0 "store_multiple_operation" [(match_parallel 0 "store_multiple_operation"
[(set (mem:SI (match_operand:SI 1 "gpc_reg_operand" "b")) [(set (mem:SI (match_operand:SI 1 "gpc_reg_operand" "b"))
(match_operand:SI 2 "gpc_reg_operand" "r")) (match_operand:SI 2 "gpc_reg_operand" "r"))
(clobber (match_scratch:SI 3 "X")) (clobber (match_scratch:SI 3 "=X"))
(set (mem:SI (plus:SI (match_dup 1) (const_int 4))) (set (mem:SI (plus:SI (match_dup 1) (const_int 4)))
(match_operand:SI 4 "gpc_reg_operand" "r")) (match_operand:SI 4 "gpc_reg_operand" "r"))
(set (mem:SI (plus:SI (match_dup 1) (const_int 8))) (set (mem:SI (plus:SI (match_dup 1) (const_int 8)))
...@@ -9081,7 +9081,7 @@ ...@@ -9081,7 +9081,7 @@
[(match_parallel 0 "store_multiple_operation" [(match_parallel 0 "store_multiple_operation"
[(set (mem:SI (match_operand:SI 1 "gpc_reg_operand" "b")) [(set (mem:SI (match_operand:SI 1 "gpc_reg_operand" "b"))
(match_operand:SI 2 "gpc_reg_operand" "r")) (match_operand:SI 2 "gpc_reg_operand" "r"))
(clobber (match_scratch:SI 3 "X")) (clobber (match_scratch:SI 3 "=X"))
(set (mem:SI (plus:SI (match_dup 1) (const_int 4))) (set (mem:SI (plus:SI (match_dup 1) (const_int 4)))
(match_operand:SI 4 "gpc_reg_operand" "r")) (match_operand:SI 4 "gpc_reg_operand" "r"))
(set (mem:SI (plus:SI (match_dup 1) (const_int 8))) (set (mem:SI (plus:SI (match_dup 1) (const_int 8)))
...@@ -9293,7 +9293,7 @@ ...@@ -9293,7 +9293,7 @@
(clobber (reg:SI 10)) (clobber (reg:SI 10))
(clobber (reg:SI 11)) (clobber (reg:SI 11))
(clobber (reg:SI 12)) (clobber (reg:SI 12))
(clobber (match_scratch:SI 5 "X"))] (clobber (match_scratch:SI 5 "=X"))]
"TARGET_STRING && ! TARGET_POWER "TARGET_STRING && ! TARGET_POWER
&& ((INTVAL (operands[2]) > 24 && INTVAL (operands[2]) < 32) && ((INTVAL (operands[2]) > 24 && INTVAL (operands[2]) < 32)
|| INTVAL (operands[2]) == 0) || INTVAL (operands[2]) == 0)
...@@ -9354,7 +9354,7 @@ ...@@ -9354,7 +9354,7 @@
(clobber (reg:SI 8)) (clobber (reg:SI 8))
(clobber (reg:SI 9)) (clobber (reg:SI 9))
(clobber (reg:SI 10)) (clobber (reg:SI 10))
(clobber (match_scratch:SI 5 "X"))] (clobber (match_scratch:SI 5 "=X"))]
"TARGET_STRING && ! TARGET_POWER "TARGET_STRING && ! TARGET_POWER
&& INTVAL (operands[2]) > 16 && INTVAL (operands[2]) <= 32 && INTVAL (operands[2]) > 16 && INTVAL (operands[2]) <= 32
&& (REGNO (operands[0]) < 5 || REGNO (operands[0]) > 10) && (REGNO (operands[0]) < 5 || REGNO (operands[0]) > 10)
...@@ -9408,7 +9408,7 @@ ...@@ -9408,7 +9408,7 @@
(clobber (reg:SI 6)) (clobber (reg:SI 6))
(clobber (reg:SI 7)) (clobber (reg:SI 7))
(clobber (reg:SI 8)) (clobber (reg:SI 8))
(clobber (match_scratch:SI 5 "X"))] (clobber (match_scratch:SI 5 "=X"))]
"TARGET_STRING && ! TARGET_POWER "TARGET_STRING && ! TARGET_POWER
&& INTVAL (operands[2]) > 8 && INTVAL (operands[2]) <= 16 && INTVAL (operands[2]) > 8 && INTVAL (operands[2]) <= 16
&& (REGNO (operands[0]) < 5 || REGNO (operands[0]) > 8) && (REGNO (operands[0]) < 5 || REGNO (operands[0]) > 8)
...@@ -9448,7 +9448,7 @@ ...@@ -9448,7 +9448,7 @@
(use (match_operand:SI 2 "immediate_operand" "i")) (use (match_operand:SI 2 "immediate_operand" "i"))
(use (match_operand:SI 3 "immediate_operand" "i")) (use (match_operand:SI 3 "immediate_operand" "i"))
(clobber (match_scratch:DI 4 "=&r")) (clobber (match_scratch:DI 4 "=&r"))
(clobber (match_scratch:SI 5 "X"))] (clobber (match_scratch:SI 5 "=X"))]
"TARGET_STRING && ! TARGET_POWER && ! TARGET_POWERPC64 "TARGET_STRING && ! TARGET_POWER && ! TARGET_POWERPC64
&& INTVAL (operands[2]) > 4 && INTVAL (operands[2]) <= 8" && INTVAL (operands[2]) > 4 && INTVAL (operands[2]) <= 8"
"{lsi|lswi} %4,%1,%2\;{stsi|stswi} %4,%0,%2" "{lsi|lswi} %4,%1,%2\;{stsi|stswi} %4,%0,%2"
...@@ -9485,7 +9485,7 @@ ...@@ -9485,7 +9485,7 @@
(use (match_operand:SI 2 "immediate_operand" "i")) (use (match_operand:SI 2 "immediate_operand" "i"))
(use (match_operand:SI 3 "immediate_operand" "i")) (use (match_operand:SI 3 "immediate_operand" "i"))
(clobber (match_scratch:SI 4 "=&r")) (clobber (match_scratch:SI 4 "=&r"))
(clobber (match_scratch:SI 5 "X"))] (clobber (match_scratch:SI 5 "=X"))]
"TARGET_STRING && ! TARGET_POWER "TARGET_STRING && ! TARGET_POWER
&& INTVAL (operands[2]) > 0 && INTVAL (operands[2]) <= 4" && INTVAL (operands[2]) > 0 && INTVAL (operands[2]) <= 4"
"{lsi|lswi} %4,%1,%2\;{stsi|stswi} %4,%0,%2" "{lsi|lswi} %4,%1,%2\;{stsi|stswi} %4,%0,%2"
......
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