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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <h...@gcc.gnu.org>:

https://gcc.gnu.org/g:3d7ccbc1efbd475031a9a4a6110c531f71fbf631

commit r12-2829-g3d7ccbc1efbd475031a9a4a6110c531f71fbf631
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Fri Aug 6 12:32:01 2021 -0700

    x86: Optimize load of const FP all bits set vectors

    Check float_vector_all_ones_operand for vector floating-point modes to
    optimize load of const floating-point all bits set vectors.

    gcc/

            PR target/101804
            * config/i386/constraints.md (BC): Document for integer SSE
            constant all bits set operand.
            (BF): New constraint for const floating-point all bits set
            vectors.
            * config/i386/i386.c (standard_sse_constant_p): Likewise.
            (standard_sse_constant_opcode): Likewise.
            * config/i386/sse.md (sseconstm1): New mode attribute.
            (mov<mode>_internal): Replace BC with <sseconstm1>.

    gcc/testsuite/

            PR target/101804
            * gcc.target/i386/avx2-gather-2.c: Pass -march=skylake instead
            of "-mavx2 -mtune=skylake".  Scan vpcmpeqd.

Reply via email to