Hi! If we build Darwin with a modern assembler, then it might well recognise insns that cannot be used on current Darwin systems.
The patch augments the tests for feature support for VSX, power8 and power9 to exclude Darwin even if the assembler can handle the instructions. tested on powerpc-darwin9 (with llvm-based assembler and cctools) tested on powerpc-linux-gnu (power7 machine). Applied to mainline. Iain 2019-05-15 Iain Sandoe <i...@sandoe.co.uk> * lib/target-supports.exp (check_effective_target_powerpc_p8vector_ok): No support for Darwin. (check_effective_target_powerpc_p9vector_ok): Likewise. (check_effective_target_powerpc_float128_sw_ok): Likewise. (check_effective_target_powerpc_float128_hw_ok): Likewise. (check_effective_target_powerpc_vsx_ok): Likewise. * gcc.target/powerpc/bfp/bfp.exp: Don't try to run this for Darwin. * gcc.target/powerpc/dfp/dfp.exp: Likewise.
ppc-testsuite-new-assembler.diff
Description: Binary data