Minor fixup to the sparc bshuffle pattern.
authorDavid S. Miller <davem@davemloft.net>
Mon, 3 Oct 2011 17:55:10 +0000 (17:55 +0000)
committerDavid S. Miller <davem@gcc.gnu.org>
Mon, 3 Oct 2011 17:55:10 +0000 (10:55 -0700)
* config/sparc/sparc.md (bshuffle<V64I:mode>_vis): Don't wrap GSR_REG in
a USE, since it's now a true arg to the UNSPEC.

From-SVN: r179470

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

index 60ffd9689983b75077d5f6d01e31ec7abe4e49d4..74ffd8a80aa54cb206fa96b90a88e8b06d8bda21 100644 (file)
@@ -5,6 +5,9 @@
        RTL using zero_extract.
        (bshuffle<V64I:mode>_vis): Put the GSR use inside of the unspec.
 
+       * config/sparc/sparc.md (bshuffle<V64I:mode>_vis): Don't wrap GSR_REG in
+       a USE, since it's now a true arg to the UNSPEC.
+
 2011-10-03  Artjoms Sinkarovs  <artyom.shinkaroff@gmail.com>
 
        * optabs.c (expand_vec_shuffle_expr_p): New function. Checks
index c48c979dba8fdd0a3ab107c38d74ce7810195092..85d140e8d8e9b15c05c8858628bc13b741688050 100644 (file)
   [(set (match_operand:V64I 0 "register_operand" "=e")
         (unspec:V64I [(match_operand:V64I 1 "register_operand" "e")
                      (match_operand:V64I 2 "register_operand" "e")
-                     (use (reg:SI GSR_REG))]
+                     (reg:SI GSR_REG)]
                      UNSPEC_BSHUFFLE))]
   "TARGET_VIS2"
   "bshuffle\t%1, %2, %0"