]> gcc.gnu.org Git - gcc.git/commit
x86: Use x constraint on SSSE3 patterns with MMX operands
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 25 Mar 2022 04:41:12 +0000 (21:41 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 26 Mar 2022 14:29:53 +0000 (07:29 -0700)
commitee25401b10a1ca6157c0a02f49f47e7b253af123
treec4f03ea2782bdac8a27a7f31c309e9ce0dae8d38
parent23852920316ea12ff1c5f215474e627c3d22d976
x86: Use x constraint on SSSE3 patterns with MMX operands

Since PHADDW/PHADDD/PHADDSW/PHSUBW/PHSUBD/PHSUBSW/PSIGNB/PSIGNW/PSIGND
have no AVX512 version, replace the "Yv" register constraint with the
"x" register constraint.

PR target/105052
* config/i386/sse.md (ssse3_ph<plusminus_mnemonic>wv4hi3):
Replace "Yv" with "x".
(ssse3_ph<plusminus_mnemonic>dv2si3): Likewise.
(ssse3_psign<mode>3): Likewise.

(cherry picked from commit 99591cf43fc1da0fb72b3da02ba937ba30bd2bf2)
gcc/config/i386/sse.md
This page took 0.067354 seconds and 6 git commands to generate.