diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-02-25 06:42:11 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-02-25 06:42:11 -0500 |
commit | 8bffcaf6a039d6ab262ac2b90d8fa7174d764320 (patch) | |
tree | 1c48b06de817f0b0065b1b3b9e03c9a7ee19675e /gcc | |
parent | bcb58dfcd5aea6acf6745dad392e9e1c7fb637a3 (diff) | |
download | gcc-8bffcaf6a039d6ab262ac2b90d8fa7174d764320.zip gcc-8bffcaf6a039d6ab262ac2b90d8fa7174d764320.tar.gz gcc-8bffcaf6a039d6ab262ac2b90d8fa7174d764320.tar.bz2 |
(mul*): Disallow multiply by constant.
From-SVN: r6621
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/alpha/alpha.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/config/alpha/alpha.md b/gcc/config/alpha/alpha.md index 7e1b798..15b05f4 100644 --- a/gcc/config/alpha/alpha.md +++ b/gcc/config/alpha/alpha.md @@ -328,25 +328,25 @@ (define_insn "mulsi3" [(set (match_operand:SI 0 "register_operand" "=r") (mult:SI (match_operand:SI 1 "reg_or_0_operand" "%rJ") - (match_operand:SI 2 "reg_or_8bit_operand" "rI")))] + (match_operand:SI 2 "reg_or_0_operand" "rJ")))] "" - "mull %r1,%2,%0" + "mull %r1,%r2,%0" [(set_attr "type" "imull")]) (define_insn "" [(set (match_operand:DI 0 "register_operand" "=r") (sign_extend:DI (mult:SI (match_operand:SI 1 "reg_or_0_operand" "%rJ") - (match_operand:SI 2 "reg_or_8bit_operand" "rI"))))] + (match_operand:SI 2 "reg_or_0_operand" "rJ"))))] "" - "mull %r1,%2,%0" + "mull %r1,%r2,%0" [(set_attr "type" "imull")]) (define_insn "muldi3" [(set (match_operand:DI 0 "register_operand" "=r") (mult:DI (match_operand:DI 1 "reg_or_0_operand" "%rJ") - (match_operand:DI 2 "reg_or_8bit_operand" "rI")))] + (match_operand:DI 2 "reg_or_0_operand" "rJ")))] "" - "mulq %r1,%2,%0" + "mulq %r1,%r2,%0" [(set_attr "type" "imulq")]) ;; The divide and remainder operations always take their inputs from |