aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-04-09 16:28:47 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-04-09 16:28:47 -0400
commit74f171be20124890c3b14881350b561d2e99ed54 (patch)
treee9bf26fc93366c194d28b3c9bcb980e224eb764e
parent4c64b884062ef166002a9482b43d0d29d4178698 (diff)
downloadgcc-74f171be20124890c3b14881350b561d2e99ed54.zip
gcc-74f171be20124890c3b14881350b561d2e99ed54.tar.gz
gcc-74f171be20124890c3b14881350b561d2e99ed54.tar.bz2
(mulhi3): Use SImode for MULT RTL.
From-SVN: r7011
-rw-r--r--gcc/config/i386/i386.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 500fbbd..346a63b 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -2301,14 +2301,14 @@
(define_insn ""
[(set (match_operand:HI 0 "general_operand" "=r")
- (mult:SI (match_operand:HI 1 "general_operand" "%0")
+ (mult:HI (match_operand:HI 1 "general_operand" "%0")
(match_operand:HI 2 "general_operand" "r")))]
"GET_CODE (operands[2]) == CONST_INT && INTVAL (operands[2]) == 0x80"
"* return AS2 (imul%W0,%2,%0);")
(define_insn "mulhi3"
[(set (match_operand:HI 0 "general_operand" "=r,r")
- (mult:SI (match_operand:HI 1 "general_operand" "%0,rm")
+ (mult:HI (match_operand:HI 1 "general_operand" "%0,rm")
(match_operand:HI 2 "general_operand" "g,i")))]
""
"*
@@ -2345,7 +2345,7 @@
(define_insn ""
[(set (match_operand:HI 0 "general_operand" "=a")
- (mult:SI (zero_extend:HI
+ (mult:HI (zero_extend:HI
(match_operand:QI 1 "nonimmediate_operand" "%0"))
(zero_extend:HI
(match_operand:QI 2 "nonimmediate_operand" "qm"))))]