sparc.md (set then compare DI mode peephole2): Fix compare mode in output RTL.
authorDavid S. Miller <davem@redhat.com>
Mon, 22 Apr 2002 01:25:11 +0000 (18:25 -0700)
committerDavid S. Miller <davem@gcc.gnu.org>
Mon, 22 Apr 2002 01:25:11 +0000 (18:25 -0700)
2002-04-21  David S. Miller  <davem@redhat.com>

* config/sparc/sparc.md (set then compare DI mode peephole2): Fix
compare mode in output RTL.

From-SVN: r52597

gcc/ChangeLog
gcc/config/sparc/sparc.md

index 707039a..cbfeb4e 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-21  David S. Miller  <davem@redhat.com>
+
+       * config/sparc/sparc.md (set then compare DI mode peephole2): Fix
+       compare mode in output RTL.
+
 2002-04-22  David Edelsohn  <edelsohn@gnu.org>
 
        * config/rs6000/rs6000.c (rs6000_override_options): Correct
index d09f648..eccfb75 100644 (file)
    && ! SPARC_FP_REG_P (REGNO (operands[1]))"
   [(parallel [(set (match_dup 0) (match_dup 1))
              (set (reg:CCX 100)
-                  (compare:CC (match_dup 1) (const_int 0)))])]
+                  (compare:CCX (match_dup 1) (const_int 0)))])]
   "")
 
 ;; Return peepholes.  These are generated by sparc_nonflat_function_epilogue