public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] x86: Also use Yw in *ssse3_pshufbv8qi3 clobber
@ 2022-03-28 16:37 H.J. Lu
  2022-03-30 13:26 ` H.J. Lu
  0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 2022-03-28 16:37 UTC (permalink / raw)
  To: gcc-patches

	PR target/105068
	* config/i386/sse.md (*ssse3_pshufbv8qi3): Also replace "Yv" with
	"Yw" in clobber.
---
 gcc/config/i386/sse.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
index 01543afd111..1f9c496e7c0 100644
--- a/gcc/config/i386/sse.md
+++ b/gcc/config/i386/sse.md
@@ -20764,7 +20764,7 @@ (define_insn_and_split "*ssse3_pshufbv8qi3"
 		      (match_operand:V4SI 4 "reg_or_const_vector_operand"
 					  "i,3,3")]
 		     UNSPEC_PSHUFB))
-   (clobber (match_scratch:V4SI 3 "=X,&x,&Yv"))]
+   (clobber (match_scratch:V4SI 3 "=X,&x,&Yw"))]
   "(TARGET_MMX || TARGET_MMX_WITH_SSE) && TARGET_SSSE3"
   "@
    pshufb\t{%2, %0|%0, %2}
-- 
2.35.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] x86: Also use Yw in *ssse3_pshufbv8qi3 clobber
  2022-03-28 16:37 [PATCH] x86: Also use Yw in *ssse3_pshufbv8qi3 clobber H.J. Lu
@ 2022-03-30 13:26 ` H.J. Lu
  0 siblings, 0 replies; 2+ messages in thread
From: H.J. Lu @ 2022-03-30 13:26 UTC (permalink / raw)
  To: GCC Patches

On Mon, Mar 28, 2022 at 9:37 AM H.J. Lu <hjl.tools@gmail.com> wrote:
>
>         PR target/105068
>         * config/i386/sse.md (*ssse3_pshufbv8qi3): Also replace "Yv" with
>         "Yw" in clobber.
> ---
>  gcc/config/i386/sse.md | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
> index 01543afd111..1f9c496e7c0 100644
> --- a/gcc/config/i386/sse.md
> +++ b/gcc/config/i386/sse.md
> @@ -20764,7 +20764,7 @@ (define_insn_and_split "*ssse3_pshufbv8qi3"
>                       (match_operand:V4SI 4 "reg_or_const_vector_operand"
>                                           "i,3,3")]
>                      UNSPEC_PSHUFB))
> -   (clobber (match_scratch:V4SI 3 "=X,&x,&Yv"))]
> +   (clobber (match_scratch:V4SI 3 "=X,&x,&Yw"))]
>    "(TARGET_MMX || TARGET_MMX_WITH_SSE) && TARGET_SSSE3"
>    "@
>     pshufb\t{%2, %0|%0, %2}
> --
> 2.35.1
>

I am backporting this to release branches.

Thanks.

-- 
H.J.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-30 13:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-28 16:37 [PATCH] x86: Also use Yw in *ssse3_pshufbv8qi3 clobber H.J. Lu
2022-03-30 13:26 ` H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).