From 17d71a73a9ebdd2b58740526dc7af91a7e07a786 Mon Sep 17 00:00:00 2001 From: Torbjorn Granlund Date: Mon, 6 Jul 1992 12:42:29 +0000 Subject: [PATCH] (swapsi): Add `+' operand constraints. (insert to memory recognizer): Add `+'. (peephole for moving returned value to fp reg): Add `='. From-SVN: r1459 --- gcc/config/m68k/m68k.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/config/m68k/m68k.md b/gcc/config/m68k/m68k.md index 49da7f1cbf9..9da998c42e6 100644 --- a/gcc/config/m68k/m68k.md +++ b/gcc/config/m68k/m68k.md @@ -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])" "* -- 2.30.2