rs6000: Add effective target has_arch_ppc64
This is true if we have -mpowerpc64. 2022-04-21 Segher Boessenkool <segher@kernel.crashing.org> gcc/testsuite/ * lib/target-supports.exp (check_effective_target_has_arch_ppc64): New.
This commit is contained in:
parent
ae56e2da05
commit
fc9deca632
1 changed files with 10 additions and 0 deletions
|
@ -6378,6 +6378,16 @@ proc check_effective_target_has_arch_pwr10 { } {
|
|||
}]
|
||||
}
|
||||
|
||||
proc check_effective_target_has_arch_ppc64 { } {
|
||||
return [check_no_compiler_messages arch_ppc64 assembly {
|
||||
#ifndef _ARCH_PPC64
|
||||
#error does not have ppc64 support.
|
||||
#else
|
||||
/* "has ppc64 support" */
|
||||
#endif
|
||||
}]
|
||||
}
|
||||
|
||||
# Return 1 if this is a PowerPC target supporting -mcpu=power10.
|
||||
# Limit this to 64-bit linux systems for now until other targets support
|
||||
# power10.
|
||||
|
|
Loading…
Add table
Reference in a new issue