]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix vect_long_mult for aarch64 [PR109705]
authorAndrew Pinski <quic_apinski@quicinc.com>
Wed, 24 Jan 2024 08:00:34 +0000 (00:00 -0800)
committerAndrew Pinski <quic_apinski@quicinc.com>
Wed, 24 Jan 2024 18:21:31 +0000 (10:21 -0800)
commite6fbc3cc786a74a098352868348e187877bfbc8b
tree589ed60cd8d9adacd6aa168048deb899db679db9
parenta9a8426e534760b8d3a250e9bd3cff4db131a2be
Fix vect_long_mult for aarch64 [PR109705]

On aarch64, vectorization of `long` multiply can be done if SVE is enabled
or if long is 32bit (ILP32). It can also be done for constants too but there
is no effective target test for that just yet.

Build and tested on aarch64-linux-gnu with no regressions (also tested with SVE enabled).

gcc/testsuite/ChangeLog:

PR testsuite/109705
* lib/target-supports.exp (check_effective_target_vect_long_mult):
Fix aarch64*-*-* checks.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
gcc/testsuite/lib/target-supports.exp