Commit e42ac3de by Roger Sayle Committed by Roger Sayle

rs6000.md (ctz<mode>2, [...]): Remove constraints from define_expand's match_operands.


	* config/rs6000/rs6000.md (ctz<mode>2, ffs<mode>2, popcount<mode>2,
	parity<mode>2, smulsi3_highpart, abstf2_internal, allocate_stack,
	tablejumpdi, movsi_to_cr_one): Remove constraints from
	define_expand's match_operands.

From-SVN: r121706
parent 6339e6b1
2007-02-07 Roger Sayle <roger@eyesopen.com> 2007-02-07 Roger Sayle <roger@eyesopen.com>
* config/rs6000/rs6000.md (ctz<mode>2, ffs<mode>2, popcount<mode>2,
parity<mode>2, smulsi3_highpart, abstf2_internal, allocate_stack,
tablejumpdi, movsi_to_cr_one): Remove constraints from
define_expand's match_operands.
2007-02-07 Roger Sayle <roger@eyesopen.com>
* global.c (compute_regsets): Move declatation of "i" inside of * global.c (compute_regsets): Move declatation of "i" inside of
#ifdef ELIMINABLE_REGS to avoid unused variable bootstrap failure. #ifdef ELIMINABLE_REGS to avoid unused variable bootstrap failure.
......
...@@ -2129,12 +2129,12 @@ ...@@ -2129,12 +2129,12 @@
(define_expand "ctz<mode>2" (define_expand "ctz<mode>2"
[(set (match_dup 2) [(set (match_dup 2)
(neg:GPR (match_operand:GPR 1 "gpc_reg_operand" "r"))) (neg:GPR (match_operand:GPR 1 "gpc_reg_operand" "")))
(parallel [(set (match_dup 3) (and:GPR (match_dup 1) (parallel [(set (match_dup 3) (and:GPR (match_dup 1)
(match_dup 2))) (match_dup 2)))
(clobber (scratch:CC))]) (clobber (scratch:CC))])
(set (match_dup 4) (clz:GPR (match_dup 3))) (set (match_dup 4) (clz:GPR (match_dup 3)))
(set (match_operand:GPR 0 "gpc_reg_operand" "=r") (set (match_operand:GPR 0 "gpc_reg_operand" "")
(minus:GPR (match_dup 5) (match_dup 4)))] (minus:GPR (match_dup 5) (match_dup 4)))]
"" ""
{ {
...@@ -2146,12 +2146,12 @@ ...@@ -2146,12 +2146,12 @@
(define_expand "ffs<mode>2" (define_expand "ffs<mode>2"
[(set (match_dup 2) [(set (match_dup 2)
(neg:GPR (match_operand:GPR 1 "gpc_reg_operand" "r"))) (neg:GPR (match_operand:GPR 1 "gpc_reg_operand" "")))
(parallel [(set (match_dup 3) (and:GPR (match_dup 1) (parallel [(set (match_dup 3) (and:GPR (match_dup 1)
(match_dup 2))) (match_dup 2)))
(clobber (scratch:CC))]) (clobber (scratch:CC))])
(set (match_dup 4) (clz:GPR (match_dup 3))) (set (match_dup 4) (clz:GPR (match_dup 3)))
(set (match_operand:GPR 0 "gpc_reg_operand" "=r") (set (match_operand:GPR 0 "gpc_reg_operand" "")
(minus:GPR (match_dup 5) (match_dup 4)))] (minus:GPR (match_dup 5) (match_dup 4)))]
"" ""
{ {
...@@ -2169,8 +2169,8 @@ ...@@ -2169,8 +2169,8 @@
"popcntb %0,%1") "popcntb %0,%1")
(define_expand "popcount<mode>2" (define_expand "popcount<mode>2"
[(use (match_operand:GPR 0 "gpc_reg_operand" "=r")) [(set (match_operand:GPR 0 "gpc_reg_operand" "")
(use (match_operand:GPR 1 "gpc_reg_operand" "r"))] (popcount:GPR (match_operand:GPR 1 "gpc_reg_operand" "")))]
"TARGET_POPCNTB" "TARGET_POPCNTB"
{ {
rs6000_emit_popcount (operands[0], operands[1]); rs6000_emit_popcount (operands[0], operands[1]);
...@@ -2178,8 +2178,8 @@ ...@@ -2178,8 +2178,8 @@
}) })
(define_expand "parity<mode>2" (define_expand "parity<mode>2"
[(use (match_operand:GPR 0 "gpc_reg_operand" "=r")) [(set (match_operand:GPR 0 "gpc_reg_operand" "")
(use (match_operand:GPR 1 "gpc_reg_operand" "r"))] (parity:GPR (match_operand:GPR 1 "gpc_reg_operand" "")))]
"TARGET_POPCNTB" "TARGET_POPCNTB"
{ {
rs6000_emit_parity (operands[0], operands[1]); rs6000_emit_parity (operands[0], operands[1]);
...@@ -6354,9 +6354,9 @@ ...@@ -6354,9 +6354,9 @@
[(set (match_operand:SI 0 "gpc_reg_operand" "") [(set (match_operand:SI 0 "gpc_reg_operand" "")
(truncate:SI (truncate:SI
(lshiftrt:DI (mult:DI (sign_extend:DI (lshiftrt:DI (mult:DI (sign_extend:DI
(match_operand:SI 1 "gpc_reg_operand" "%r")) (match_operand:SI 1 "gpc_reg_operand" ""))
(sign_extend:DI (sign_extend:DI
(match_operand:SI 2 "gpc_reg_operand" "r"))) (match_operand:SI 2 "gpc_reg_operand" "")))
(const_int 32))))] (const_int 32))))]
"" ""
" "
...@@ -8805,8 +8805,8 @@ ...@@ -8805,8 +8805,8 @@
}") }")
(define_expand "abstf2_internal" (define_expand "abstf2_internal"
[(set (match_operand:TF 0 "gpc_reg_operand" "=f") [(set (match_operand:TF 0 "gpc_reg_operand" "")
(match_operand:TF 1 "gpc_reg_operand" "f")) (match_operand:TF 1 "gpc_reg_operand" ""))
(set (match_dup 3) (match_dup 5)) (set (match_dup 3) (match_dup 5))
(set (match_dup 5) (abs:DF (match_dup 5))) (set (match_dup 5) (abs:DF (match_dup 5)))
(set (match_dup 4) (compare:CCFP (match_dup 3) (match_dup 5))) (set (match_dup 4) (compare:CCFP (match_dup 3) (match_dup 5)))
...@@ -10288,7 +10288,7 @@ ...@@ -10288,7 +10288,7 @@
;; We move the back-chain and decrement the stack pointer. ;; We move the back-chain and decrement the stack pointer.
(define_expand "allocate_stack" (define_expand "allocate_stack"
[(set (match_operand 0 "gpc_reg_operand" "=r") [(set (match_operand 0 "gpc_reg_operand" "")
(minus (reg 1) (match_operand 1 "reg_or_short_operand" ""))) (minus (reg 1) (match_operand 1 "reg_or_short_operand" "")))
(set (reg 1) (set (reg 1)
(minus (reg 1) (match_dup 1)))] (minus (reg 1) (match_dup 1)))]
...@@ -14047,7 +14047,7 @@ ...@@ -14047,7 +14047,7 @@
(define_expand "tablejumpdi" (define_expand "tablejumpdi"
[(set (match_dup 4) [(set (match_dup 4)
(sign_extend:DI (match_operand:SI 0 "lwa_operand" "rm"))) (sign_extend:DI (match_operand:SI 0 "lwa_operand" "")))
(set (match_dup 3) (set (match_dup 3)
(plus:DI (match_dup 4) (plus:DI (match_dup 4)
(match_dup 2))) (match_dup 2)))
...@@ -14387,8 +14387,8 @@ ...@@ -14387,8 +14387,8 @@
; faster; for instance, on the 601 and 750. ; faster; for instance, on the 601 and 750.
(define_expand "movsi_to_cr_one" (define_expand "movsi_to_cr_one"
[(set (match_operand:CC 0 "cc_reg_operand" "=y") [(set (match_operand:CC 0 "cc_reg_operand" "")
(unspec:CC [(match_operand:SI 1 "gpc_reg_operand" "r") (unspec:CC [(match_operand:SI 1 "gpc_reg_operand" "")
(match_dup 2)] UNSPEC_MOVESI_TO_CR))] (match_dup 2)] UNSPEC_MOVESI_TO_CR))]
"" ""
"operands[2] = GEN_INT (1 << (75 - REGNO (operands[0])));") "operands[2] = GEN_INT (1 << (75 - REGNO (operands[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