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]

[Xtensa] delete tstsi pattern


The Xtensa port does not use cc0, so the tstsi pattern should not exist. This patch deletes it. Committed on mainline.

2006-11-17 Bob Wilson <bob.wilson@acm.org>

* config/xtensa/xtensa.md (tstsi): Delete
Index: config/xtensa/xtensa.md
===================================================================
--- config/xtensa/xtensa.md	(revision 118948)
+++ config/xtensa/xtensa.md	(working copy)
@@ -1221,17 +1221,6 @@
   DONE;
 })
 
-(define_expand "tstsi"
-  [(set (cc0)
-	(match_operand:SI 0 "register_operand" ""))]
-  ""
-{
-  branch_cmp[0] = operands[0];
-  branch_cmp[1] = const0_rtx;
-  branch_type = CMP_SI;
-  DONE;
-})
-
 (define_expand "cmpsf"
   [(set (cc0)
 	(compare:CC (match_operand:SF 0 "register_operand" "")

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