[PATCH, Darwin, PowerPC, testsuite] Exclude Darwin from VSX, Power8 and Power9 tests.

Iain Sandoe iain@sandoe.co.uk
Wed May 15 11:54:00 GMT 2019


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  <iain@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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppc-testsuite-new-assembler.diff
Type: application/octet-stream
Size: 5634 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190515/7d357e8a/attachment.obj>


More information about the Gcc-patches mailing list