This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
rs6000 TARGET_XL_COMPAT cmptf2
- From: Alan Modra <amodra at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 17 Mar 2010 10:13:12 +1030
- Subject: 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