re PR target/87853 (_mm_cmpgt_epi8 broken with -funsigned-char)
authorJakub Jelinek <jakub@redhat.com>
Mon, 9 Sep 2019 10:31:02 +0000 (12:31 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 9 Sep 2019 10:31:02 +0000 (12:31 +0200)
commitca47c3987c09df50cd9504652e4a8f6f8656bf94
tree0781d771ad07319e24fbfb934db45c70509e4cd8
parentb245befcdd8ca0c38df47ea86537b92881490591
re PR target/87853 (_mm_cmpgt_epi8 broken with -funsigned-char)

PR target/87853
* config/i386/emmintrin.h (_mm_cmpeq_epi8): Use casts to __v16qi
instead of __v16qs.

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

From-SVN: r275508
gcc/ChangeLog
gcc/config/i386/emmintrin.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr87853.c [new file with mode: 0644]