i386: Fix zero/sign extend expanders [PR95229]
authorUros Bizjak <ubizjak@gmail.com>
Wed, 20 May 2020 17:00:39 +0000 (19:00 +0200)
committerUros Bizjak <ubizjak@gmail.com>
Wed, 20 May 2020 17:00:39 +0000 (19:00 +0200)
commit3872a519c8fa65318efa1b481d331ef91b3ff044
treee337a8fa91e894d044af53b6f92b9073bb476be0
parent2cf6f31527c6d8dd2cc96f4efe8ff70d60d5fb44
i386: Fix zero/sign extend expanders [PR95229]

2020-05-20  Uroš Bizjak  <ubizjak@gmail.com>

gcc/ChangeLog:
PR target/95229
* config/i386/sse.md (<code>v8qiv8hi2): Use
simplify_gen_subreg instead of simplify_subreg.
(<code>v8qiv8si2): Ditto.
(<code>v4qiv4si2): Ditto.
(<code>v4hiv4si2): Ditto.
(<code>v8qiv8di2): Ditto.
(<code>v4qiv4di2): Ditto.
(<code>v2qiv2di2): Ditto.
(<code>v4hiv4di2): Ditto.
(<code>v2hiv2di2): Ditto.
(<code>v2siv2di2): Ditto.

gcc/testsuite/ChangeLog:
PR target/95229
* g++.target/i386/pr95229.C: New test.
gcc/ChangeLog
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/g++.target/i386/pr95229.C [new file with mode: 0644]