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 707039a4036cace24335740445947543b22c4e21..cbfeb4e0df6536ac254e5c8d0f404074b9f85f60 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 d09f6487e8492163473592c03296545dfd4fedfa..eccfb7574b778123ade450bc5d4311ce6cce343f 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