+2020-04-24 Andrew Stubbs <ams@codesourcery.com>
+
+ * lib/target-supports.exp (available_vector_sizes): Add amdgcn.
+ (check_effective_target_vect_cmdline_needed): Disable for amdgcn.
+ (check_effective_target_vect_pack_trunc): Add amdgcn.
+
2020-04-24 Iain Sandoe <iain@sandoe.co.uk>
PR c++/94288
|| [check_effective_target_powerpc_altivec]))
|| ([istarget sparc*-*-*] && [check_effective_target_sparc_vis])
|| ([istarget arm*-*-*] && [check_effective_target_arm_neon])
- || [istarget aarch64*-*-*] } {
+ || [istarget aarch64*-*-*]
+ || [istarget amdgcn*-*-*]} {
return 0
} else {
return 1
|| ([istarget mips*-*-*]
&& [et-is-effective-target mips_msa])
|| ([istarget s390*-*-*]
- && [check_effective_target_s390_vx]) }}]
+ && [check_effective_target_s390_vx])
+ || [istarget amdgcn*-*-*] }}]
}
# Return 1 if the target plus current options supports a vector
}
} elseif { [istarget sparc*-*-*] } {
lappend result 64
+ } elseif { [istarget amdgcn*-*-*] } {
+ lappend result 4096
} else {
# The traditional default asumption.
lappend result 128