i386: Add ssse3_pmulhrswv4hi3 expander
authorH.J. Lu <hongjiu.lu@intel.com>
Sat, 16 Feb 2019 22:16:04 +0000 (22:16 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Sat, 16 Feb 2019 22:16:04 +0000 (14:16 -0800)
commit2f3d266045f011f445c42d3218fed78581f8c8c4
tree684877f0553b64ff33acd6f9ed842aed0cdebecd
parent49be11f5c9376c0b3ee0b4f8a1cc19ca797e9f45
i386: Add ssse3_pmulhrswv4hi3 expander

There is no V4HI pmulhrsw in AVX512BW and V4HI/V8HI pmulhrsw don't require
AVX2.

PR target/89372
* config/i386/sse.md (ssedoublemode): Remove V4HI.
(PMULHRSW): Likewise.
(<ssse3_avx2>_pmulhrsw<mode>3): Require TARGET_SSSE3, not
TARGET_AVX2.
(ssse3_pmulhrswv4hi3): New expander.

From-SVN: r268964
gcc/ChangeLog
gcc/config/i386/sse.md