fix for PREDICATE_CODES for unordered FP on rs6000

Geoff Keating geoffk@cygnus.com
Thu May 4 17:06:00 GMT 2000


This should have no visible effect at all, but it was still wrong.

-- 
- Geoffrey Keating <geoffk@cygnus.com>

===File ~/patches/cygnus/rs6000-bco_fp.patch================
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/egcs/gcc/ChangeLog,v
retrieving revision 1.6492
diff -p -u -u -p -r1.6492 ChangeLog
--- ChangeLog	2000/05/04 23:23:44	1.6492
+++ ChangeLog	2000/05/05 00:03:13
@@ -1,3 +1,8 @@
+2000-05-04  Geoff Keating  <geoffk@cygnus.com>
+
+	* config/rs6000/rs6000.h (PREDICATE_CODES): Add floating-point
+	comparison codes to branch_comparison_operator.
+
 2000-05-04  Richard Henderson  <rth@cygnus.com>
 
 	* ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
Index: config/rs6000/rs6000.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/rs6000/rs6000.h,v
retrieving revision 1.75
diff -p -u -u -p -r1.75 rs6000.h
--- rs6000.h	2000/03/30 11:47:08	1.75
+++ rs6000.h	2000/05/05 00:03:13
@@ -2741,7 +2741,10 @@ do {									\
   {"load_multiple_operation", {PARALLEL}},			\
   {"store_multiple_operation", {PARALLEL}},			\
   {"branch_comparison_operator", {EQ, NE, LE, LT, GE,		\
-				  GT, LEU, LTU, GEU, GTU}},	\
+				  GT, LEU, LTU, GEU, GTU,	\
+				  UNORDERED, ORDERED,		\
+				  UNEQ, LTGT,			\
+				  UNGE, UNGT, UNLE, UNLT}},	\
   {"scc_comparison_operator", {EQ, NE, LE, LT, GE,		\
 			       GT, LEU, LTU, GEU, GTU}},	\
   {"trap_comparison_operator", {EQ, NE, LE, LT, GE,		\
============================================================


More information about the Gcc-patches mailing list