diff options
author | Richard Henderson <rth@redhat.com> | 2000-11-28 13:31:47 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2000-11-28 13:31:47 -0800 |
commit | c77e04ae3ae833109b0aab9ff62f1882879abefd (patch) | |
tree | 8c0dafd2db80242046249de676749f4a85109006 /gcc/config/i960 | |
parent | 79bc466955ec6dcbb4ba0be4c5f8b8924801275d (diff) | |
download | gcc-c77e04ae3ae833109b0aab9ff62f1882879abefd.zip gcc-c77e04ae3ae833109b0aab9ff62f1882879abefd.tar.gz gcc-c77e04ae3ae833109b0aab9ff62f1882879abefd.tar.bz2 |
genoutput.c (validate_insn_operands): New.
* genoutput.c (validate_insn_operands): New.
(gen_insn): Call it.
* config/alpha/alpha.md (divmodsi_internal): Renumber operands.
(divmoddi_internal): Likewise.
* config/arm/arm.md (andsi3_compare0_scratch): Likewise.
* config/i960/i960.md (branch patterns): Likewise.
* config/ia64/ia64.md (tbit_and_0): Likewise.
(tbit_and_1, tbit_or_0, tbit_or_1): Likewise.
* config/m68k/m68k.md (zero_extract memory patterns): Likewise.
* config/mips/mips.md (divmodsi4_internal): Likewise.
(divmoddi4_internal): Likewise.
* config/rs6000/rs6000.md (call patterns): Likewise.
* config/sh/sh.md (movsi_y): Likewise.
* config/sparc/sparc.md: Comment out if 0 v8p shift pattern.
From-SVN: r37828
Diffstat (limited to 'gcc/config/i960')
-rw-r--r-- | gcc/config/i960/i960.md | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/gcc/config/i960/i960.md b/gcc/config/i960/i960.md index 600865b..5b42387 100644 --- a/gcc/config/i960/i960.md +++ b/gcc/config/i960/i960.md @@ -164,53 +164,53 @@ (define_insn "" [(set (pc) (if_then_else - (ne (sign_extract:SI (match_operand:SI 1 "register_operand" "d") + (ne (sign_extract:SI (match_operand:SI 0 "register_operand" "d") (const_int 1) - (match_operand:SI 2 "arith_operand" "dI")) + (match_operand:SI 1 "arith_operand" "dI")) (const_int 0)) - (label_ref (match_operand 3 "" "")) + (label_ref (match_operand 2 "" "")) (pc)))] "" - "bbs%+ %2,%1,%l3" + "bbs%+ %1,%0,%l2" [(set_attr "type" "branch")]) (define_insn "" [(set (pc) (if_then_else - (eq (sign_extract:SI (match_operand:SI 1 "register_operand" "d") + (eq (sign_extract:SI (match_operand:SI 0 "register_operand" "d") (const_int 1) - (match_operand:SI 2 "arith_operand" "dI")) + (match_operand:SI 1 "arith_operand" "dI")) (const_int 0)) - (label_ref (match_operand 3 "" "")) + (label_ref (match_operand 2 "" "")) (pc)))] "" - "bbc%+ %2,%1,%l3" + "bbc%+ %1,%0,%l2" [(set_attr "type" "branch")]) (define_insn "" [(set (pc) (if_then_else - (ne (zero_extract:SI (match_operand:SI 1 "register_operand" "d") + (ne (zero_extract:SI (match_operand:SI 0 "register_operand" "d") (const_int 1) - (match_operand:SI 2 "arith_operand" "dI")) + (match_operand:SI 1 "arith_operand" "dI")) (const_int 0)) - (label_ref (match_operand 3 "" "")) + (label_ref (match_operand 2 "" "")) (pc)))] "" - "bbs%+ %2,%1,%l3" + "bbs%+ %1,%0,%l2" [(set_attr "type" "branch")]) (define_insn "" [(set (pc) (if_then_else - (eq (zero_extract:SI (match_operand:SI 1 "register_operand" "d") + (eq (zero_extract:SI (match_operand:SI 0 "register_operand" "d") (const_int 1) - (match_operand:SI 2 "arith_operand" "dI")) + (match_operand:SI 1 "arith_operand" "dI")) (const_int 0)) - (label_ref (match_operand 3 "" "")) + (label_ref (match_operand 2 "" "")) (pc)))] "" - "bbc%+ %2,%1,%l3" + "bbc%+ %1,%0,%l2" [(set_attr "type" "branch")]) ;; ??? These will never match. The LOG_LINKs necessary to make these match |