AArch64: Add test for -mcpu=native
authorTamar Christina <tamar.christina@arm.com>
Fri, 17 Jul 2020 12:13:12 +0000 (13:13 +0100)
committerTamar Christina <tamar.christina@arm.com>
Fri, 17 Jul 2020 12:13:12 +0000 (13:13 +0100)
commit8bc83ee378e1cac65d75752b5137ec35d9e1aca1
tree8cd9a090a62d29ef044e2e39c1dffc9f14b8a09e
parent7c4491e33d1be16bfb85d448862a8b956d35e4d8
AArch64: Add test for -mcpu=native

This adds some tests to the GCC testsuite for testing the
-mcpu=native code.

gcc/testsuite/ChangeLog:

* gcc.target/aarch64/cpunative/aarch64-cpunative.exp: New test.
* gcc.target/aarch64/cpunative/info_0: New test.
* gcc.target/aarch64/cpunative/info_1: New test.
* gcc.target/aarch64/cpunative/info_10: New test.
* gcc.target/aarch64/cpunative/info_11: New test.
* gcc.target/aarch64/cpunative/info_12: New test.
* gcc.target/aarch64/cpunative/info_13: New test.
* gcc.target/aarch64/cpunative/info_14: New test.
* gcc.target/aarch64/cpunative/info_15: New test.
* gcc.target/aarch64/cpunative/info_2: New test.
* gcc.target/aarch64/cpunative/info_3: New test.
* gcc.target/aarch64/cpunative/info_4: New test.
* gcc.target/aarch64/cpunative/info_5: New test.
* gcc.target/aarch64/cpunative/info_6: New test.
* gcc.target/aarch64/cpunative/info_7: New test.
* gcc.target/aarch64/cpunative/info_8: New test.
* gcc.target/aarch64/cpunative/info_9: New test.
* gcc.target/aarch64/cpunative/native_cpu_0.c: New test.
* gcc.target/aarch64/cpunative/native_cpu_1.c: New test.
* gcc.target/aarch64/cpunative/native_cpu_10.c: New test.
* gcc.target/aarch64/cpunative/native_cpu_11.c: New test.
* gcc.target/aarch64/cpunative/native_cpu_12.c: New test.
* gcc.target/aarch64/cpunative/native_cpu_13.c: New test.
* gcc.target/aarch64/cpunative/native_cpu_14.c: New test.
* gcc.target/aarch64/cpunative/native_cpu_15.c: New test.
* gcc.target/aarch64/cpunative/native_cpu_2.c: New test.
* gcc.target/aarch64/cpunative/native_cpu_3.c: New test.
* gcc.target/aarch64/cpunative/native_cpu_4.c: New test.
* gcc.target/aarch64/cpunative/native_cpu_5.c: New test.
* gcc.target/aarch64/cpunative/native_cpu_6.c: New test.
* gcc.target/aarch64/cpunative/native_cpu_7.c: New test.
* gcc.target/aarch64/cpunative/native_cpu_8.c: New test.
* gcc.target/aarch64/cpunative/native_cpu_9.c: New test.
33 files changed:
gcc/testsuite/gcc.target/aarch64/cpunative/aarch64-cpunative.exp [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/info_0 [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/info_1 [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/info_10 [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/info_11 [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/info_12 [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/info_13 [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/info_14 [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/info_15 [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/info_2 [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/info_3 [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/info_4 [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/info_5 [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/info_6 [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/info_7 [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/info_8 [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/info_9 [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_0.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_10.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_11.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_12.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_13.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_14.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_15.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_4.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_5.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_6.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_7.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_8.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_9.c [new file with mode: 0644]