testsuite: Fix vect_long_mult for 32-bit Power [PR109705]
As PR109705#c17, commit r14-7270 missed to consider long type is 32bit with option -m32. This patch is take care of it accordingly. Note that the vect_long_mult is supposed to be only used in vect/ (generic), powerpc_altivec_ok would be guaranteed. PR testsuite/109705 gcc/testsuite/ChangeLog: * lib/target-supports.exp (check_effective_target_vect_long_mult): Fix powerpc*-*-* checks by considering ilp32. Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
This commit is contained in:
parent
91b3da6f11
commit
5b393ac7f1
1 changed files with 3 additions and 2 deletions
|
@ -9086,8 +9086,9 @@ proc check_effective_target_vect_int_mult { } {
|
|||
proc check_effective_target_vect_long_mult { } {
|
||||
if { [istarget i?86-*-*] || [istarget x86_64-*-*]
|
||||
|| ([istarget powerpc*-*-*]
|
||||
&& [check_effective_target_powerpc_vsx_ok]
|
||||
&& [check_effective_target_has_arch_pwr10])
|
||||
&& ([check_effective_target_ilp32]
|
||||
|| ([check_effective_target_powerpc_vsx_ok]
|
||||
&& [check_effective_target_has_arch_pwr10])))
|
||||
|| [is-effective-target arm_neon]
|
||||
|| ([istarget sparc*-*-*] && [check_effective_target_ilp32])
|
||||
|| ([istarget aarch64*-*-*]
|
||||
|
|
Loading…
Add table
Reference in a new issue