From 0e1cdc75b14062759f6c041961c636b458982789 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Fri, 24 Feb 1995 13:17:17 -0800 Subject: [PATCH] (madsi): Don't use '+' constraint in a clobber. (madsi_highpart, umadsi_highpart): Delete. From-SVN: r9058 --- gcc/config/mips/mips.md | 36 +----------------------------------- 1 file changed, 1 insertion(+), 35 deletions(-) diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index ee7fa8e9383..73e44b6ebd2 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -1023,47 +1023,13 @@ (plus:SI (mult:SI (match_operand:SI 1 "register_operand" "d") (match_operand:SI 2 "register_operand" "d")) (match_dup 0))) - (clobber (match_scratch:SI 3 "+h"))] - "TARGET_MAD" - "mad\\t%1,%2" - [(set_attr "type" "imul") - (set_attr "mode" "SI") - (set_attr "length" "1")]) - -(define_insn "madsi_highpart" - [(set (match_operand:SI 0 "register_operand" "+h") - (plus:SI (truncate:SI - (lshiftrt:DI - (mult:DI (sign_extend:DI - (match_operand:SI 1 "register_operand" "d")) - (sign_extend:DI - (match_operand:SI 2 "register_operand" "d"))) - (const_int 32))) - (match_dup 0))) - (clobber (match_scratch:SI 3 "+l"))] + (clobber (match_scratch:SI 3 "=h"))] "TARGET_MAD" "mad\\t%1,%2" [(set_attr "type" "imul") (set_attr "mode" "SI") (set_attr "length" "1")]) -(define_insn "umadsi_highpart" - [(set (match_operand:SI 0 "register_operand" "+h") - (plus:SI (truncate:SI - (lshiftrt:DI - (mult:DI (zero_extend:DI - (match_operand:SI 1 "register_operand" "d")) - (zero_extend:DI - (match_operand:SI 2 "register_operand" "d"))) - (const_int 32))) - (match_dup 0))) - (clobber (match_scratch:SI 3 "+l"))] - "TARGET_MAD" - "madu\\t%1,%2" - [(set_attr "type" "imul") - (set_attr "mode" "SI") - (set_attr "length" "1")]) - ;; ??? We can only refer to HI/LO as a register pair when not ;; compiling 64 bit code. That's because we don't know how to extract ;; the two 32 bit values into a single 64 bit register. -- 2.30.2