aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mn10300
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2011-01-19 11:33:44 -0800
committerRichard Henderson <rth@gcc.gnu.org>2011-01-19 11:33:44 -0800
commite0d1958fc33b635c29e522ec05d3a11fad642e46 (patch)
tree8dc75def1320ba11dec1f8828c8898593af8e3a8 /gcc/config/mn10300
parentd6be7c36ac28596ffe7bf768a3a9526d4bd18840 (diff)
downloadgcc-e0d1958fc33b635c29e522ec05d3a11fad642e46.zip
gcc-e0d1958fc33b635c29e522ec05d3a11fad642e46.tar.gz
gcc-e0d1958fc33b635c29e522ec05d3a11fad642e46.tar.bz2
mn10300: Use reg_or_am33_const_operand in mulsi3.
From-SVN: r169017
Diffstat (limited to 'gcc/config/mn10300')
-rw-r--r--gcc/config/mn10300/mn10300.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/config/mn10300/mn10300.md b/gcc/config/mn10300/mn10300.md
index bb95b37..57606e4 100644
--- a/gcc/config/mn10300/mn10300.md
+++ b/gcc/config/mn10300/mn10300.md
@@ -1013,19 +1013,19 @@
)
(define_expand "mulsi3"
- [(parallel [(set (match_operand:SI 0 "register_operand" "")
- (mult:SI (match_operand:SI 1 "register_operand" "")
- (match_operand:SI 2 "nonmemory_operand" "")))
- (clobber (match_scratch:SI 3 ""))
+ [(parallel [(set (match_operand:SI 0 "register_operand")
+ (mult:SI (match_operand:SI 1 "register_operand")
+ (match_operand:SI 2 "reg_or_am33_const_operand")))
+ (clobber (match_scratch:SI 3))
(clobber (reg:CC CC_REG))])]
""
)
(define_insn "*mulsi3"
- [(set (match_operand:SI 0 "register_operand" "=D, r,r")
- (mult:SI (match_operand:SI 2 "register_operand" "%0, 0,r")
- (match_operand:SI 3 "nonmemory_operand" " D,ri,r")))
- (clobber (match_scratch:SI 1 "=z, z,r"))
+ [(set (match_operand:SI 0 "register_operand" "=D, r,r")
+ (mult:SI (match_operand:SI 2 "register_operand" "%0, 0,r")
+ (match_operand:SI 3 "reg_or_am33_const_operand" " D,ri,r")))
+ (clobber (match_scratch:SI 1 "=z, z,r"))
(clobber (reg:CC CC_REG))]
""
{