aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-10-03 17:55:10 +0000
committerDavid S. Miller <davem@gcc.gnu.org>2011-10-03 10:55:10 -0700
commit4f936a37f29b67f34b7dc8b8021025662a171426 (patch)
treec5f2a36e49a3b9a7a2bd8d09a33e7b5b06d81e10
parentd59b911eecee2259587387dfcf7c39650e094d1f (diff)
downloadgcc-4f936a37f29b67f34b7dc8b8021025662a171426.zip
gcc-4f936a37f29b67f34b7dc8b8021025662a171426.tar.gz
gcc-4f936a37f29b67f34b7dc8b8021025662a171426.tar.bz2
Minor fixup to the sparc bshuffle pattern.
* 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
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/sparc/sparc.md2
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 60ffd96..74ffd8a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md
index c48c979..85d140e 100644
--- a/gcc/config/sparc/sparc.md
+++ b/gcc/config/sparc/sparc.md
@@ -8252,7 +8252,7 @@
[(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"