https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91704
Bug ID: 91704
Summary: [X86] Codegen for _mm256_cmpgt_epi8 is affected by
-funsigned-char
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: craig.topper at gmail dot com
Target Milestone: ---
This intrinsic should always do a signed compare, but it uses __v32qi in its
implementation which uses "char" rather than "signed char" in its typedef. This
cause it to follow the -funsigned-char/-fsigned-char setting. The 128-bit
equivalent uses a separate __v16qs typedef to avoid this.