This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix missing bungt_rev pattern
- From: Andreas Schwab <schwab at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 10 Sep 2006 01:06:11 +0200
- Subject: Fix missing bungt_rev pattern
Add the reversed bungt pattern, which was accidentally left out when the
other unordered comparison patterns were added.
Andreas.
2006-09-10 Andreas Schwab <schwab@suse.de>
* config/m68k/m68k.md (bungt_rev): New pattern.
Index: gcc/config/m68k/m68k.md
===================================================================
--- gcc/config/m68k/m68k.md (revision 116800)
+++ gcc/config/m68k/m68k.md (revision 116801)
@@ -6164,6 +6164,17 @@
return MOTOROLA ? "fbolt %l0" : "fjolt %l0";
})
+(define_insn "*bungt_rev"
+ [(set (pc)
+ (if_then_else (ungt (cc0) (const_int 0))
+ (pc)
+ (label_ref (match_operand 0 "" ""))))]
+ "TARGET_68881"
+{
+ gcc_assert (cc_prev_status.flags & CC_IN_68881);
+ return MOTOROLA ? "fbole %l0" : "fjole %l0";
+})
+
(define_insn "*bunle_rev"
[(set (pc)
(if_then_else (unle (cc0) (const_int 0))
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."