i386: Add ssse3_pmulhrswv4hi3 expander

Programming / Compilers / GCC - hjl [138bc75d-0d04-0410-961f-82ee72b054a4] - 16 February 2019 22:16 EST

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. (_pmulhrsw3): Require TARGET_SSSE3, not TARGET_AVX2. (ssse3_pmulhrswv4hi3): New expander.

94d48c3217c i386: Add ssse3_pmulhrswv4hi3 expander
gcc/ChangeLog | 9 +++++++++
gcc/config/i386/sse.md | 26 +++++++++++++++++++++++---
2 files changed, 32 insertions(+), 3 deletions(-)

Upstream: gcc.gnu.org


  • Share