(swapsi): Add `+' operand constraints.
authorTorbjorn Granlund <tege@gnu.org>
Mon, 6 Jul 1992 12:42:29 +0000 (12:42 +0000)
committerTorbjorn Granlund <tege@gnu.org>
Mon, 6 Jul 1992 12:42:29 +0000 (12:42 +0000)
(insert to memory recognizer): Add `+'.
(peephole for moving returned value to fp reg): Add `='.

From-SVN: r1459

gcc/config/m68k/m68k.md

index 49da7f1cbf9a6e430caca4348af555dc3a2e06e1..9da998c42e678cceda9c888348e92bc5ced8fb01 100644 (file)
 
 ;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")
 ; 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"))]
 
 (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])"
   "*