IA MCU psABI support: testsuite
authorH.J. Lu <hongjiu.lu@intel.com>
Tue, 30 Jun 2015 16:46:45 +0000 (16:46 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Tue, 30 Jun 2015 16:46:45 +0000 (09:46 -0700)
commit8b970b6e69aeddad690f7b1465d8aeeeb07c7536
tree890a747b830c9982992cb3332cff8437ea2a9a04
parentcb78b51ca0b545a8d6b0b72a3aa108f3012de4ee
IA MCU psABI support: testsuite

We run Intel MCU psABI tests on Linux/ia32 with -miamcu.  Since Intel
MCU psABI has a different calling convention, the only Linux libc function
allowed is "abort".

asm-support.S contains some support functions as well as a subset of
soft-fp, which is written in assembly with x87 instructions, to provide
intrinsics needed by -miamcu so that Intel MCU psABI tests can run on
Linux.

* gcc.target/i386/iamcu/abi-iamcu.exp: New file.
* gcc.target/i386/iamcu/args.h: Likewise.
* gcc.target/i386/iamcu/asm-support.S: Likewise.
* gcc.target/i386/iamcu/defines.h: Likewise.
* gcc.target/i386/iamcu/macros.h: Likewise.
* gcc.target/i386/iamcu/test_3_element_struct_and_unions.c: Likewise.
* gcc.target/i386/iamcu/test_basic_64bit_returning.c: Likewise.
* gcc.target/i386/iamcu/test_basic_alignment.c: Likewise.
* gcc.target/i386/iamcu/test_basic_array_size_and_align.c: Likewise.
* gcc.target/i386/iamcu/test_basic_returning.c: Likewise.
* gcc.target/i386/iamcu/test_basic_sizes.c: Likewise.
* gcc.target/i386/iamcu/test_basic_struct_size_and_align.c: Likewise.
* gcc.target/i386/iamcu/test_basic_union_size_and_align.c: Likewise.
* gcc.target/i386/iamcu/test_bitfields.c: Likewise.
* gcc.target/i386/iamcu/test_complex_returning.c: Likewise.
* gcc.target/i386/iamcu/test_passing_floats.c: Likewise.
* gcc.target/i386/iamcu/test_passing_integers.c: Likewise.
* gcc.target/i386/iamcu/test_passing_structs.c: Likewise.
* gcc.target/i386/iamcu/test_passing_structs_and_unions.c: Likewise.
* gcc.target/i386/iamcu/test_passing_unions.c: Likewise.
* gcc.target/i386/iamcu/test_struct_returning.c: Likewise.
* gcc.target/i386/iamcu/test_varargs.c: Likewise.

From-SVN: r225199
23 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/iamcu/abi-iamcu.exp [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/iamcu/args.h [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/iamcu/asm-support.S [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/iamcu/defines.h [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/iamcu/macros.h [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/iamcu/test_3_element_struct_and_unions.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/iamcu/test_basic_64bit_returning.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/iamcu/test_basic_alignment.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/iamcu/test_basic_array_size_and_align.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/iamcu/test_basic_returning.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/iamcu/test_basic_sizes.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/iamcu/test_basic_struct_size_and_align.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/iamcu/test_basic_union_size_and_align.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/iamcu/test_bitfields.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/iamcu/test_complex_returning.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/iamcu/test_passing_floats.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/iamcu/test_passing_integers.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/iamcu/test_passing_structs.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/iamcu/test_passing_structs_and_unions.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/iamcu/test_passing_unions.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/iamcu/test_struct_returning.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/iamcu/test_varargs.c [new file with mode: 0644]