[Bug target/87853] _mm_cmpgt_epi8 broken with -funsigned-char
hjl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 13 14:43:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87853
--- Comment #12 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Thu Dec 13 14:42:43 2018
New Revision: 267095
URL: https://gcc.gnu.org/viewcvs?rev=267095&root=gcc&view=rev
Log:
x86: Fix _mm_cmpgt_epi8 with -funsigned-char
Backport from mainline
2018-11-05 Xuepeng Guo <xuepeng.guo@intel.com>
PR target/87853
* config/i386/emmintrin.h (__v16qs): New to cope with option
-funsigned-char.
(_mm_cmpeq_epi8): Replace __v16qi with __v16qs.
(_mm_cmplt_epi8): Likewise.
(_mm_cmpgt_epi8): Likewise.
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/config/i386/emmintrin.h
More information about the Gcc-bugs
mailing list