aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1995-02-24 13:17:17 -0800
committerJim Wilson <wilson@gcc.gnu.org>1995-02-24 13:17:17 -0800
commit0e1cdc75b14062759f6c041961c636b458982789 (patch)
treec71b7e5e200b288287f28586c702532abfbec7af
parentdc2fba6003c7a4f9a62b0a15a011638d9ef7b0c2 (diff)
downloadgcc-0e1cdc75b14062759f6c041961c636b458982789.zip
gcc-0e1cdc75b14062759f6c041961c636b458982789.tar.gz
gcc-0e1cdc75b14062759f6c041961c636b458982789.tar.bz2
(madsi): Don't use '+' constraint in a clobber.
(madsi_highpart, umadsi_highpart): Delete. From-SVN: r9058
-rw-r--r--gcc/config/mips/mips.md36
1 files changed, 1 insertions, 35 deletions
diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md
index ee7fa8e..73e44b6 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.