Minor fixup to the sparc bshuffle pattern.
authordavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Oct 2011 17:55:10 +0000 (17:55 +0000)
committerdavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Oct 2011 17:55:10 +0000 (17:55 +0000)
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179470 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 60ffd96..74ffd8a 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 c48c979..85d140e 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"