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>
&& [check_effective_target_has_arch_pwr10])
|| [is-effective-target arm_neon]
|| ([istarget sparc*-*-*] && [check_effective_target_ilp32])
- || [istarget aarch64*-*-*]
+ || ([istarget aarch64*-*-*]
+ && ([check_effective_target_ilp32]
+ || check_effective_target_aarch64_sve]))
|| ([istarget mips*-*-*]
&& [et-is-effective-target mips_msa])
|| ([istarget riscv*-*-*]