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

--- Comment #15 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Hu <hu...@gcc.gnu.org>:

https://gcc.gnu.org/g:a902e35396d68f10bd27477153fafa4f5ac9c319

commit r15-2052-ga902e35396d68f10bd27477153fafa4f5ac9c319
Author: Hu, Lin1 <lin1...@intel.com>
Date:   Thu Jul 11 15:03:22 2024 +0800

    i386: extend trunc{128}2{16,32,64}'s scope.

    Based on actual usage, trunc{128}2{16,32,64} use some instructions from
    sse/sse3, so extend their scope to extend the scope of optimization.

    gcc/ChangeLog:

            PR target/107432
            * config/i386/sse.md
            (PMOV_SRC_MODE_3_AVX2): Add TARGET_AVX2 for V4DI and V8SI.
            (PMOV_SRC_MODE_4): Add TARGET_AVX2 for V4DI.
            (trunc<mode><pmov_dst_3_lower>2): Change constraint from
TARGET_AVX2 to
            TARGET_SSSE3.
            (trunc<mode><pmov_dst_4_lower>2): Ditto.
            (truncv2div2si2): Change constraint from TARGET_AVX2 to TARGET_SSE.

    gcc/testsuite/ChangeLog:

            PR target/107432
            * gcc.target/i386/pr107432-10.c: New test.

Reply via email to