re PR target/88152 (optimize SSE & AVX char compares with subsequent movmskb)
authorJakub Jelinek <jakub@redhat.com>
Thu, 29 Nov 2018 22:16:37 +0000 (23:16 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 29 Nov 2018 22:16:37 +0000 (23:16 +0100)
commit0b1c4b83e44a89b2736671f968c07ca1aab634ae
treeb218b1a7ff49487c2edc78347432a8583c1a19b6
parentfb9e6a4bf8fb2a6aee9fd5c2dd0d0f4c842cf9f1
re PR target/88152 (optimize SSE & AVX char compares with subsequent movmskb)

PR target/88152
* config/i386/sse.md (*<sse>_movmsk<ssemodesuffix><avxsizesuffix>_lt,
*<sse>_movmsk<ssemodesuffix><avxsizesuffix>_zext_lt,
*<sse>_movmsk<ssemodesuffix><avxsizesuffix>_shift,
*<sse>_movmsk<ssemodesuffix><avxsizesuffix>_zext_shift,
*<sse2_avx2>_pmovmskb_lt, *<sse2_avx2>_pmovmskb_zext_lt): New
define_insn_and_split patterns.

* g++.target/i386/pr88152.C: New test.

From-SVN: r266649
gcc/ChangeLog
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/g++.target/i386/pr88152.C [new file with mode: 0644]