x86: Also use Yw in *ssse3_pshufbv8qi3 clobber
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 28 Mar 2022 16:32:53 +0000 (09:32 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 28 Mar 2022 17:47:02 +0000 (10:47 -0700)
PR target/105068
* config/i386/sse.md (*ssse3_pshufbv8qi3): Also replace "Yv" with
"Yw" in clobber.

gcc/config/i386/sse.md

index 01543af..1f9c496 100644 (file)
                      (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}