(swapsi): Add `+' operand constraints.

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

From-SVN: r1459
This commit is contained in:
Torbjorn Granlund 1992-07-06 12:42:29 +00:00
parent e48b9e9ce6
commit 17d71a73a9

View File

@ -656,8 +656,8 @@
;This is never used.
;(define_insn "swapsi"
; [(set (match_operand:SI 0 "general_operand" "r")
; (match_operand:SI 1 "general_operand" "r"))
; [(set (match_operand:SI 0 "general_operand" "+r")
; (match_operand:SI 1 "general_operand" "+r"))
; (set (match_dup 1) (match_dup 0))]
; ""
; "exg %1,%0")
@ -3624,7 +3624,7 @@
; than an odd byte aligned bit field instruction.
;
(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 2 "immediate_operand" "i"))
(match_operand:SI 3 "general_operand" "rmi"))]
@ -4770,7 +4770,7 @@
(define_peephole
[(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"))]
"FP_REG_P (operands[0]) && ! FP_REG_P (operands[1])"
"*