]> git.ipfire.org Git - thirdparty/gcc.git/commit
i386: Remove mulv2si emulated sequence for TARGET_SSE2 [PR109797]
authorUros Bizjak <ubizjak@gmail.com>
Fri, 12 May 2023 16:37:13 +0000 (18:37 +0200)
committerUros Bizjak <ubizjak@gmail.com>
Fri, 12 May 2023 16:39:32 +0000 (18:39 +0200)
commit75aa95694ed9bab50b5e152f7a755eb5f5e8014e
tree84f6abb97498a7545ba4b7532cfe08c0fd6c28ae
parenta835f046cdf017b9e8ad5576df4f10daaf8420d0
i386: Remove mulv2si emulated sequence for TARGET_SSE2 [PR109797]

Remove mulv2si emulated sequence for TARGET_SSE2 and enable
only native PMULLD instruction for TARGET_SSE4_1.  Ideally, the
vectorization for TARGET_SSE2 should depend on more precise cost
estimation (the PR contains patch for ix86_multiplication_cost),
but even with patched cost function the runtime regression
was not fixed.

PR target/109797

gcc/ChangeLog:

* config/i386/mmx.md (mulv2si3): Remove expander.
(mulv2si3): Rename insn pattern from *mulv2si.
gcc/config/i386/mmx.md