Commit 17d71a73 by Torbjorn Granlund

(swapsi): Add `+' operand constraints.

(insert to memory recognizer): Add `+'.
(peephole for moving returned value to fp reg): Add `='.

From-SVN: r1459
parent e48b9e9c
...@@ -656,8 +656,8 @@ ...@@ -656,8 +656,8 @@
;This is never used. ;This is never used.
;(define_insn "swapsi" ;(define_insn "swapsi"
; [(set (match_operand:SI 0 "general_operand" "r") ; [(set (match_operand:SI 0 "general_operand" "+r")
; (match_operand:SI 1 "general_operand" "r")) ; (match_operand:SI 1 "general_operand" "+r"))
; (set (match_dup 1) (match_dup 0))] ; (set (match_dup 1) (match_dup 0))]
; "" ; ""
; "exg %1,%0") ; "exg %1,%0")
...@@ -3624,7 +3624,7 @@ ...@@ -3624,7 +3624,7 @@
; than an odd byte aligned bit field instruction. ; than an odd byte aligned bit field instruction.
; ;
(define_insn "" (define_insn ""
[(set (zero_extract:SI (match_operand:QI 0 "nonimmediate_operand" "o") [(set (zero_extract:SI (match_operand:QI 0 "nonimmediate_operand" "+o")
(match_operand:SI 1 "immediate_operand" "i") (match_operand:SI 1 "immediate_operand" "i")
(match_operand:SI 2 "immediate_operand" "i")) (match_operand:SI 2 "immediate_operand" "i"))
(match_operand:SI 3 "general_operand" "rmi"))] (match_operand:SI 3 "general_operand" "rmi"))]
...@@ -4770,7 +4770,7 @@ ...@@ -4770,7 +4770,7 @@
(define_peephole (define_peephole
[(set (reg:SI 15) (plus:SI (reg:SI 15) (const_int 4))) [(set (reg:SI 15) (plus:SI (reg:SI 15) (const_int 4)))
(set (match_operand:DF 0 "register_operand" "f") (set (match_operand:DF 0 "register_operand" "=f")
(match_operand:DF 1 "register_operand" "ad"))] (match_operand:DF 1 "register_operand" "ad"))]
"FP_REG_P (operands[0]) && ! FP_REG_P (operands[1])" "FP_REG_P (operands[0]) && ! FP_REG_P (operands[1])"
"* "*
......
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