diff options
author | Bernd Schmidt <bernds@redhat.com> | 2001-08-08 10:05:40 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2001-08-08 10:05:40 +0000 |
commit | 7dcc803eca5812c14a5c1b446ecbdffe5174b1c9 (patch) | |
tree | b2f19958d93e57ee7c7985b80e0207dd51e348c3 /gcc/config/ia64 | |
parent | b7933c21dc753dad1f064de767011aa792fe4879 (diff) | |
download | gcc-7dcc803eca5812c14a5c1b446ecbdffe5174b1c9.zip gcc-7dcc803eca5812c14a5c1b446ecbdffe5174b1c9.tar.gz gcc-7dcc803eca5812c14a5c1b446ecbdffe5174b1c9.tar.bz2 |
Turn patterns/splits into define_insn_and_split
From-SVN: r44714
Diffstat (limited to 'gcc/config/ia64')
-rw-r--r-- | gcc/config/ia64/ia64.md | 39 |
1 files changed, 9 insertions, 30 deletions
diff --git a/gcc/config/ia64/ia64.md b/gcc/config/ia64/ia64.md index 3590630..efa3705 100644 --- a/gcc/config/ia64/ia64.md +++ b/gcc/config/ia64/ia64.md @@ -4495,7 +4495,7 @@ VOIDmode, operands[1], const0_rtx); }") -(define_insn "*cond_opsi2_internal" +(define_insn_and_split "*cond_opsi2_internal" [(set (match_operand:SI 0 "gr_register_operand" "=r") (match_operator:SI 5 "condop_operator" [(if_then_else:SI @@ -4507,19 +4507,6 @@ (match_operand:SI 4 "gr_register_operand" "r")]))] "" "#" - [(set_attr "itanium_class" "ialu") - (set_attr "predicable" "no")]) - -(define_split - [(set (match_operand:SI 0 "gr_register_operand" "") - (match_operator:SI 5 "condop_operator" - [(if_then_else:SI - (match_operator 6 "predicate_operator" - [(match_operand:BI 1 "register_operand" "") - (const_int 0)]) - (match_operand:SI 2 "gr_register_operand" "") - (match_operand:SI 3 "gr_register_operand" "")) - (match_operand:SI 4 "gr_register_operand" "")]))] "reload_completed" [(cond_exec (match_dup 6) @@ -4531,9 +4518,12 @@ { operands[7] = gen_rtx_fmt_ee (GET_CODE (operands[6]) == NE ? EQ : NE, VOIDmode, operands[1], const0_rtx); -}") +}" + [(set_attr "itanium_class" "ialu") + (set_attr "predicable" "no")]) + -(define_insn "*cond_opsi2_internal_b" +(define_insn_and_split "*cond_opsi2_internal_b" [(set (match_operand:SI 0 "gr_register_operand" "=r") (match_operator:SI 5 "condop_operator" [(match_operand:SI 4 "gr_register_operand" "r") @@ -4545,19 +4535,6 @@ (match_operand:SI 3 "gr_register_operand" "r"))]))] "" "#" - [(set_attr "itanium_class" "ialu") - (set_attr "predicable" "no")]) - -(define_split - [(set (match_operand:SI 0 "gr_register_operand" "") - (match_operator:SI 5 "condop_operator" - [(match_operand:SI 4 "gr_register_operand" "") - (if_then_else:SI - (match_operator 6 "predicate_operator" - [(match_operand:BI 1 "register_operand" "") - (const_int 0)]) - (match_operand:SI 2 "gr_register_operand" "") - (match_operand:SI 3 "gr_register_operand" ""))]))] "reload_completed" [(cond_exec (match_dup 6) @@ -4569,7 +4546,9 @@ { operands[7] = gen_rtx_fmt_ee (GET_CODE (operands[6]) == NE ? EQ : NE, VOIDmode, operands[1], const0_rtx); -}") +}" + [(set_attr "itanium_class" "ialu") + (set_attr "predicable" "no")]) ;; :::::::::::::::::::: |