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]

rs6000 TARGET_XL_COMPAT cmptf2


This fixes a typo in a pattern added for TARGET_XL_COMPAT.
Obvious, but we're in regression only mode.  I guess you could argue
it's a regression from before this option was added, so OK to apply?

	* config/rs6000/rs6000.md (cmptf_internal2): Correct comparison.

Index: gcc/config/rs6000/rs6000.md
===================================================================
--- gcc/config/rs6000/rs6000.md	(revision 157471)
+++ gcc/config/rs6000/rs6000.md	(working copy)
@@ -12906,7 +12906,7 @@ (define_insn_and_split "*cmptf_internal2
    (set (match_dup 10) (minus:DF (match_dup 5) (match_dup 7)))
    (set (match_dup 9) (minus:DF (match_dup 6) (match_dup 8)))
    (set (match_dup 9) (plus:DF (match_dup 10) (match_dup 9)))
-   (set (match_dup 0) (compare:CCFP (match_dup 7) (match_dup 4)))
+   (set (match_dup 0) (compare:CCFP (match_dup 9) (match_dup 4)))
    (match_dup 12)]
 {
   REAL_VALUE_TYPE rv;

-- 
Alan Modra
Australia Development Lab, IBM


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