This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] h8300.md: Rename some patterns.


Hi,

Attached is a patch to rename some patterns.  These two compare insns
set flags Z, N, V, and C in a useful way.  I'll be adding one that
sets Z, N, and V, but not C soon.

Built h8300-elf.  Committed.

Kazu Hirata

2004-03-02  Kazu Hirata  <kazu@cs.umass.edu>

	* config/h8300/h8300.md (*cmphi_h8300): Rename to
	*cmphi_h8300_znvc.
	(*cmphi_h8300hs): Rename to *cmphi_h8300hs_znvc.

Index: h8300.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/h8300.md,v
retrieving revision 1.279
diff -u -r1.279 h8300.md
--- h8300.md	2 Mar 2004 02:20:21 -0000	1.279
+++ h8300.md	2 Mar 2004 04:06:17 -0000
@@ -780,7 +780,7 @@
     operands[1] = force_reg (HImode, operands[1]);
 }")
 
-(define_insn "*cmphi_h8300"
+(define_insn "*cmphi_h8300_znvc"
   [(set (cc0)
 	(compare (match_operand:HI 0 "register_operand" "r")
 		 (match_operand:HI 1 "register_operand" "r")))]
@@ -789,7 +789,7 @@
   [(set_attr "length" "2")
    (set_attr "cc" "compare")])
 
-(define_insn "*cmphi_h8300hs"
+(define_insn "*cmphi_h8300hs_znvc"
   [(set (cc0)
 	(compare (match_operand:HI 0 "register_operand" "r,r")
 		 (match_operand:HI 1 "nonmemory_operand" "r,n")))]


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]