Hi:
  As desribed in PR, also remove the relevant and useless expanders
and builtins, the user can
directly use == and >, without calling the builtin function.
  Bootstrapped and regtested on x86_64-linux-gnu{-m32,}.

gcc/ChangeLog:

        PR target/98833
        * config/i386/i386-builtin.def (BDESC): Delete
        __builtin_ia32_pcmpeqb128, __builtin_ia32_pcmpeqw128,
        __builtin_ia32_pcmpeqd128, __builtin_ia32_pcmpgtb128,
        __builtin_ia32_pcmpgtw128, __builtin_ia32_pcmpgtd128,
        __builtin_ia32_pcmpeqb256, __builtin_ia32_pcmpeqw256,
        __builtin_ia32_pcmpeqd256, __builtin_ia32_pcmpeqq256,
        __builtin_ia32_pcmpgtb256, __builtin_ia32_pcmpgtw256,
        __builtin_ia32_pcmpgtd256, __builtin_ia32_pcmpgtq256.
        * config/i386/sse.md (avx2_eq<mode>3): Deleted.
        (sse2_eq<mode>3): Ditto.
        (sse2_gt<mode>3): Renamed to ..
        (*sse2_gt<mode>3): And drop !TARGET_XOP in condition.
        (*sse2_eq<mode>3): Drop !TARGET_XOP in condition.

gcc/testsuite/ChangeLog:

        PR target/98833
        * gcc.target/i386/pr98833.c: New test.

libcpp/

        PR target/98833
        * lex.c (search_line_sse2): Replace builtins with == operator.

-- 
BR,
Hongtao

Attachment: 0001-Fix-ICE-for-PR-target-98833.patch
Description: Binary data

Reply via email to