diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2003-09-29 16:34:09 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2003-09-29 16:34:09 +0000 |
commit | 681a664b1369620d4039d7c20931d921ea8507a8 (patch) | |
tree | eb87b438f9aeb305be3e20f4724a5f89691a062a | |
parent | 22a3d55fdf3ec5cf110fdb5a0e210a6b9188a6b0 (diff) | |
download | gcc-681a664b1369620d4039d7c20931d921ea8507a8.zip gcc-681a664b1369620d4039d7c20931d921ea8507a8.tar.gz gcc-681a664b1369620d4039d7c20931d921ea8507a8.tar.bz2 |
h8300.md (*tst_extzv_1_n): Combine with the define_split immediately below to form define_insn_and_split.
* config/h8300/h8300.md (*tst_extzv_1_n): Combine with the
define_split immediately below to form define_insn_and_split.
From-SVN: r71903
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.md | 18 |
2 files changed, 10 insertions, 13 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 76e38ad..bf061a3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2003-09-29 Kazu Hirata <kazu@cs.umass.edu> + * config/h8300/h8300.md (*tst_extzv_1_n): Combine with the + define_split immediately below to form define_insn_and_split. + +2003-09-29 Kazu Hirata <kazu@cs.umass.edu> + * config/h8300/h8300.md (*tstsi_variable_bit): New. (*tstsi_variable_bit_qi): Likewise. diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index 33828bc..095949d 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -590,7 +590,7 @@ [(set_attr "length" "2") (set_attr "cc" "set_zn")]) -(define_insn "*tst_extzv_1_n" +(define_insn_and_split "*tst_extzv_1_n" [(set (cc0) (zero_extract:SI (match_operand:QI 0 "general_operand_src" "r,U,mn>") (const_int 1) @@ -601,17 +601,7 @@ btst\\t%Z1,%Y0 btst\\t%Z1,%Y0 #" - [(set_attr "length" "2,8,10") - (set_attr "cc" "set_zn,set_zn,set_zn")]) - -(define_split - [(set (cc0) - (zero_extract:SI (match_operand:QI 0 "general_operand" "") - (const_int 1) - (match_operand 1 "const_int_operand" ""))) - (clobber (match_operand:QI 2 "register_operand" ""))] - "(TARGET_H8300H || TARGET_H8300S) - && reload_completed + "&& reload_completed && !EXTRA_CONSTRAINT (operands[0], 'U')" [(set (match_dup 2) (match_dup 0)) @@ -619,7 +609,9 @@ (const_int 1) (match_dup 1))) (clobber (scratch:QI))])] - "") + "" + [(set_attr "length" "2,8,10") + (set_attr "cc" "set_zn,set_zn,set_zn")]) (define_insn "" [(set (cc0) (zero_extract:SI (match_operand:SI 0 "register_operand" "r") |