* [patch, moxie] Fix comparison regression
@ 2011-06-12 10:49 Anthony Green
0 siblings, 0 replies; only message in thread
From: Anthony Green @ 2011-06-12 10:49 UTC (permalink / raw)
To: gcc-patches; +Cc: richard.sandiford
I've just committed this patch. It makes match_operator modeless for
moxie comparisons. This fixes a regression introduced in March by this
patch: http://gcc.gnu.org/ml/gcc-patches/2011-03/msg01344.html
2011-06-12 Anthony Green <green@moxielogic.com>
* config/moxie/moxie.md (cbranchsi4): Remove mode from
comparison.
Index: gcc/config/moxie/moxie.md
===================================================================
--- gcc/config/moxie/moxie.md (revision 174933)
+++ gcc/config/moxie/moxie.md (working copy)
@@ -308,7 +308,7 @@
(match_operand:SI 1 "general_operand" "")
(match_operand:SI 2 "general_operand" "")))
(set (pc)
- (if_then_else (match_operator:CC 0 "comparison_operator"
+ (if_then_else (match_operator 0 "comparison_operator"
[(reg:CC CC_REG) (const_int 0)])
(label_ref (match_operand 3 "" ""))
(pc)))]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-06-12 10:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-12 10:49 [patch, moxie] Fix comparison regression Anthony Green
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).