]> git.ipfire.org Git - thirdparty/gcc.git/commit
aarch64: PR target/99195 Annotate dot-product patterns for vec-concat-zero
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Wed, 31 May 2023 16:46:19 +0000 (17:46 +0100)
committerKyrylo Tkachov <kyrylo.tkachov@arm.com>
Wed, 31 May 2023 16:46:19 +0000 (17:46 +0100)
commitd0c064c3eabc75cf83df296ebcd1db19b4a68851
treee355aa63fe6c18875b8474eeade683f8082615bc
parent547d3bce0c02dbcbb6f62d9469a71eedf17bd688
aarch64: PR target/99195 Annotate dot-product patterns for vec-concat-zero

This straightforward patch annotates the dotproduct instructions, including the i8mm ones.
Tests included.
Nothing unexpected here.

Bootstrapped and tested on aarch64-none-linux-gnu and aarch64_be-none-elf.

gcc/ChangeLog:

PR target/99195
* config/aarch64/aarch64-simd.md (<sur>dot_prod<vsi2qi>): Rename to...
(<sur>dot_prod<vsi2qi><vczle><vczbe>): ... This.
(usdot_prod<vsi2qi>): Rename to...
(usdot_prod<vsi2qi><vczle><vczbe>): ... This.
(aarch64_<sur>dot_lane<vsi2qi>): Rename to...
(aarch64_<sur>dot_lane<vsi2qi><vczle><vczbe>): ... This.
(aarch64_<sur>dot_laneq<vsi2qi>): Rename to...
(aarch64_<sur>dot_laneq<vsi2qi><vczle><vczbe>): ... This.
(aarch64_<DOTPROD_I8MM:sur>dot_lane<VB:isquadop><VS:vsi2qi>): Rename to...
(aarch64_<DOTPROD_I8MM:sur>dot_lane<VB:isquadop><VS:vsi2qi><vczle><vczbe>):
... This.

gcc/testsuite/ChangeLog:

PR target/99195
* gcc.target/aarch64/simd/pr99195_11.c: New test.
gcc/config/aarch64/aarch64-simd.md
gcc/testsuite/gcc.target/aarch64/simd/pr99195_11.c [new file with mode: 0644]