]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
More sparc pixel-compare insn pattern cleanups.
authorDavid S. Miller <davem@davemloft.net>
Thu, 29 Sep 2011 19:17:13 +0000 (19:17 +0000)
committerDavid S. Miller <davem@gcc.gnu.org>
Thu, 29 Sep 2011 19:17:13 +0000 (12:17 -0700)
* config/sparc/sparc.md (VIS pixel-compare insn): There is only one
code iterator used, so just use <code>.  There are two mode iterators
so explicitly use <GCM:gcm_name>.

From-SVN: r179366

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

index c831d399b78268e52fb2af02d3b5a644633d47e6..ea5c6d00d3dcae5c1a786a22e9a44eaa3856f544 100644 (file)
@@ -33,7 +33,7 @@
        forward declaration.
        (remove_duplicate_close_phi): Detect and repair creation of
        duplicate close-phis for a containing loop.
-       
+
 2011-09-27   Andi Kleen <ak@linux.intel.com>
 
        * gcc.c (get_local_tick). Rename to get_random_number.
        * config/sparc/sparc.md (gcond_name): Delete unnecessary code attr.
        (VIS pixel-compare insn): Just use <gcond:name>.
 
+       * config/sparc/sparc.md (VIS pixel-compare insn): There is only one
+       code iterator used, so just use <code>.  There are two mode iterators
+       so explicitly use <GCM:gcm_name>.
+
 2011-09-29  Iain Sandoe  <iains@gcc.gnu.org>
 
        * config/darwin9.h (STACK_CHECK_STATIC_BUILTIN): Enable for
index d9bcd3107705c3166ad10527b38020fa87ba91d6..2def8d1d08ae66798c3e08dd39d89b96a1d402c2 100644 (file)
 (define_mode_iterator GCM [V4HI V2SI])
 (define_mode_attr gcm_name [(V4HI "16") (V2SI "32")])
 
-(define_insn "fcmp<gcond:code><gcm_name><P:mode>_vis"
+(define_insn "fcmp<code><GCM:gcm_name><P:mode>_vis"
   [(set (match_operand:P 0 "register_operand" "=r")
        (unspec:P [(gcond:GCM (match_operand:GCM 1 "register_operand" "e")
                              (match_operand:GCM 2 "register_operand" "e"))]
         UNSPEC_FCMP))]
   "TARGET_VIS"
-  "fcmp<gcond:code><gcm_name>\t%1, %2, %0"
+  "fcmp<code><GCM:gcm_name>\t%1, %2, %0"
   [(set_attr "type" "fpmul")
    (set_attr "fptype" "double")])