re PR target/91704 ([X86] Codegen for _mm256_cmpgt_epi8 is affected by -funsigned...
authorJakub Jelinek <jakub@redhat.com>
Mon, 9 Sep 2019 10:26:50 +0000 (12:26 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 9 Sep 2019 10:26:50 +0000 (12:26 +0200)
commitb245befcdd8ca0c38df47ea86537b92881490591
tree49281ad0f8a9b880c377b7dbbb260f7b3afbf3c0
parent91dfef9610b8844c62dc7186a9aea9a6aca9805c
re PR target/91704 ([X86] Codegen for _mm256_cmpgt_epi8 is affected by -funsigned-char)

PR target/91704
* config/i386/avxintrin.h (__v32qs): New typedef.
* config/i386/avx2intrin.h (_mm256_cmpgt_epi8): Use casts to __v32qs
instead of __v32qi.

* gcc.target/i386/pr91704.c: New test.

From-SVN: r275507
gcc/ChangeLog
gcc/config/i386/avx2intrin.h
gcc/config/i386/avxintrin.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr91704.c [new file with mode: 0644]