Fix PR67974 for Darwin by adding an asm shim for AVX.
authorIain Sandoe <iain@sandoe.co.uk>
Mon, 24 Dec 2018 09:02:03 +0000 (09:02 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Mon, 24 Dec 2018 09:02:03 +0000 (09:02 +0000)
commitc23f39f8481305a53216bf0f4b8b33e637157387
tree64855647a327882091ec0af03a75e636218c84c4
parent224246175fca6e27015b14afe1dadbc2fe88a4c9
Fix PR67974 for Darwin by adding an asm shim for AVX.

The PR is about a set of tests that were not executed because of
missing asm support.

However, the assembler can handle the insns now, so the tests are
attempted (but with a missing asm shim they fail).

This adds the shim.

In principle (bugs notwithstanding) Darwin’s x86_64 ABI is supposed
to follow the sysv psABI so we can have essentially a copy of the
Linux one.

2018-12-24  Iain Sandoe  <iain@sandoe.co.uk>

PR testsuite/67974
* gcc.target/x86_64/abi/avx/asm-support-darwin.s: New.

From-SVN: r267395
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/x86_64/abi/avx/asm-support-darwin.s [new file with mode: 0644]