diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2005-02-24 16:59:25 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2005-02-24 16:59:25 +0000 |
commit | ef6201a68e43c0c72daadaafaff4a76dad8b0262 (patch) | |
tree | b52240f17c48ea62d8b1cffc737c9179baf4f0fc /gcc/config/cris | |
parent | f836d6e475e2ee111825b8ef9a62366ff32cd44a (diff) | |
download | gcc-ef6201a68e43c0c72daadaafaff4a76dad8b0262.zip gcc-ef6201a68e43c0c72daadaafaff4a76dad8b0262.tar.gz gcc-ef6201a68e43c0c72daadaafaff4a76dad8b0262.tar.bz2 |
* config/cris/cris.md ("umulhisi3", "umulqihi3", "mulsi3")
("mulqihi3", "mulhisi3", "mulsidi3", "umulsidi3"): Mark input
operands as commutative in constraints.
From-SVN: r95505
Diffstat (limited to 'gcc/config/cris')
-rw-r--r-- | gcc/config/cris/cris.md | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/config/cris/cris.md b/gcc/config/cris/cris.md index d4e4a5a..03ca50a 100644 --- a/gcc/config/cris/cris.md +++ b/gcc/config/cris/cris.md @@ -2470,7 +2470,7 @@ (define_insn "umulhisi3" [(set (match_operand:SI 0 "register_operand" "=r") (mult:SI - (zero_extend:SI (match_operand:HI 1 "register_operand" "0")) + (zero_extend:SI (match_operand:HI 1 "register_operand" "%0")) (zero_extend:SI (match_operand:HI 2 "register_operand" "r"))))] "TARGET_HAS_MUL_INSNS" "%!mulu.w %2,%0" @@ -2484,7 +2484,7 @@ (define_insn "umulqihi3" [(set (match_operand:HI 0 "register_operand" "=r") (mult:HI - (zero_extend:HI (match_operand:QI 1 "register_operand" "0")) + (zero_extend:HI (match_operand:QI 1 "register_operand" "%0")) (zero_extend:HI (match_operand:QI 2 "register_operand" "r"))))] "TARGET_HAS_MUL_INSNS" "%!mulu.b %2,%0" @@ -2503,7 +2503,7 @@ (define_insn "mulsi3" [(set (match_operand:SI 0 "register_operand" "=r") - (mult:SI (match_operand:SI 1 "register_operand" "0") + (mult:SI (match_operand:SI 1 "register_operand" "%0") (match_operand:SI 2 "register_operand" "r")))] "TARGET_HAS_MUL_INSNS" "%!muls.d %2,%0" @@ -2521,7 +2521,7 @@ (define_insn "mulqihi3" [(set (match_operand:HI 0 "register_operand" "=r") (mult:HI - (sign_extend:HI (match_operand:QI 1 "register_operand" "0")) + (sign_extend:HI (match_operand:QI 1 "register_operand" "%0")) (sign_extend:HI (match_operand:QI 2 "register_operand" "r"))))] "TARGET_HAS_MUL_INSNS" "%!muls.b %2,%0" @@ -2534,7 +2534,7 @@ (define_insn "mulhisi3" [(set (match_operand:SI 0 "register_operand" "=r") (mult:SI - (sign_extend:SI (match_operand:HI 1 "register_operand" "0")) + (sign_extend:SI (match_operand:HI 1 "register_operand" "%0")) (sign_extend:SI (match_operand:HI 2 "register_operand" "r"))))] "TARGET_HAS_MUL_INSNS" "%!muls.w %2,%0" @@ -2554,7 +2554,7 @@ (define_insn "mulsidi3" [(set (match_operand:DI 0 "register_operand" "=r") (mult:DI - (sign_extend:DI (match_operand:SI 1 "register_operand" "0")) + (sign_extend:DI (match_operand:SI 1 "register_operand" "%0")) (sign_extend:DI (match_operand:SI 2 "register_operand" "r"))))] "TARGET_HAS_MUL_INSNS" "%!muls.d %2,%M0\;move $mof,%H0") @@ -2562,7 +2562,7 @@ (define_insn "umulsidi3" [(set (match_operand:DI 0 "register_operand" "=r") (mult:DI - (zero_extend:DI (match_operand:SI 1 "register_operand" "0")) + (zero_extend:DI (match_operand:SI 1 "register_operand" "%0")) (zero_extend:DI (match_operand:SI 2 "register_operand" "r"))))] "TARGET_HAS_MUL_INSNS" "%!mulu.d %2,%M0\;move $mof,%H0") |