[Bug rtl-optimization/89445] [9 regression] _mm512_maskz_loadu_pd "forgets" to use the mask

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Feb 24 19:25:00 GMT 2019


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

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sun Feb 24 19:23:51 2019
New Revision: 269176

URL: https://gcc.gnu.org/viewcvs?rev=269176&root=gcc&view=rev
Log:
        PR rtl-optimization/89445
        * simplify-rtx.c (simplify_ternary_operation): Don't use
        simplify_merge_mask on operands that may trap.
        * rtlanal.c (may_trap_p_1): Use FLOAT_MODE_P instead of
        SCALAR_FLOAT_MODE_P checks.  For integral division by zero, if
        second operand is CONST_VECTOR, check if any element could be zero.
        Don't expect traps for VEC_{MERGE,SELECT,CONCAT,DUPLICATE} unless
        their operands can trap.

        * gcc.target/i386/avx512f-pr89445.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/avx512f-pr89445.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/rtlanal.c
    trunk/gcc/simplify-rtx.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list