[Bug target/91704] [X86] Codegen for _mm256_cmpgt_epi8 is affected by -funsigned-char

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 9 11:43:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91704

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Sep  9 11:43:08 2019
New Revision: 275515

URL: https://gcc.gnu.org/viewcvs?rev=275515&root=gcc&view=rev
Log:
        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.

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.target/i386/pr91704.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/config/i386/avx2intrin.h
    branches/gcc-7-branch/gcc/config/i386/avxintrin.h
    branches/gcc-7-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list