From: David S. Miller Date: Mon, 3 Oct 2011 17:55:10 +0000 (+0000) Subject: Minor fixup to the sparc bshuffle pattern. X-Git-Tag: releases/gcc-4.7.0~3408 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4f936a37f29b67f34b7dc8b8021025662a171426;p=thirdparty%2Fgcc.git Minor fixup to the sparc bshuffle pattern. * config/sparc/sparc.md (bshuffle_vis): Don't wrap GSR_REG in a USE, since it's now a true arg to the UNSPEC. From-SVN: r179470 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 60ffd9689983..74ffd8a80aa5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -5,6 +5,9 @@ RTL using zero_extract. (bshuffle_vis): Put the GSR use inside of the unspec. + * config/sparc/sparc.md (bshuffle_vis): Don't wrap GSR_REG in + a USE, since it's now a true arg to the UNSPEC. + 2011-10-03 Artjoms Sinkarovs * 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 c48c979dba8f..85d140e8d8e9 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"