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

--- Comment #6 from Uroš Bizjak <ubizjak at gmail dot com> ---
The missing pattern was committed as part of:

commit r14-493-g919642fa4b2bc4c32910336dd200d53766801c80
Author: Uros Bizjak <ubiz...@gmail.com>
Date:   Fri May 5 14:10:18 2023 +0200

    i386: Introduce mulv2si3 instruction

    For SSE2 targets the expander unpacks input elements into the correct
    position in the V4SI vector and emits PMULUDQ instruction.  The output
    elements are then shuffled back to their positions in the V2SI vector.

    For SSE4 targets PMULLD instruction is emitted directly.

    gcc/ChangeLog:

            * config/i386/mmx.md (mulv2si3): New expander.
            (*mulv2si3): New insn pattern.

    gcc/testsuite/ChangeLog:

            * gcc.target/i386/sse2-mmx-mult-vec.c: New test.

Reply via email to