From: kazu Date: Tue, 28 May 2002 12:36:03 +0000 (+0000) Subject: * config/h8300/h8300.md (two anonymous patterns): New. X-Git-Url: http://git.sourceforge.jp/view?a=commitdiff_plain;h=39ebe913b0f38d9a0b7c090d2dcba03c777ba3d6;p=pf3gnuchains%2Fgcc-fork.git * config/h8300/h8300.md (two anonymous patterns): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53955 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f7a4c6040e7..95ce7d2696c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-05-28 Kazu Hirata + + * config/h8300/h8300.md (two anonymous patterns): New. + 2002-05-28 David S. Miller * config/sparc/sparc.md (cpu): Tidy. diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index 5dad99612a6..1359a01ad78 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -2179,3 +2179,43 @@ "mov.w\\t%f2,%e0" [(set_attr "cc" "clobber") (set_attr "length" "2")]) + +(define_insn_and_split "" + [(set (pc) + (if_then_else (eq (zero_extract:SI (subreg:SI (match_operand:QI 0 "register_operand" "") 0) + (const_int 1) + (const_int 7)) + (const_int 0)) + (label_ref (match_operand 1 "" "")) + (pc)))] + "" + "#" + "" + [(set (cc0) + (match_dup 0)) + (set (pc) + (if_then_else (ge (cc0) + (const_int 0)) + (label_ref (match_dup 1)) + (pc)))] + "") + +(define_insn_and_split "" + [(set (pc) + (if_then_else (ne (zero_extract:SI (subreg:SI (match_operand:QI 0 "register_operand" "") 0) + (const_int 1) + (const_int 7)) + (const_int 0)) + (label_ref (match_operand 1 "" "")) + (pc)))] + "" + "#" + "" + [(set (cc0) + (match_dup 0)) + (set (pc) + (if_then_else (lt (cc0) + (const_int 0)) + (label_ref (match_dup 1)) + (pc)))] + "")