aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorYvan Roux <yvan.roux@linaro.org>2015-12-09 10:53:03 +0100
committerYvan Roux <yvan.roux@linaro.org>2015-12-09 10:53:03 +0100
commit00196009c167a037d02c42708a1bdb70de9dbb78 (patch)
tree19c3695a8fb83566fbfbaec142603f61be4f3979 /gcc/testsuite
parent220720af49790ed4b61079a0c8a99e33c7ae9fc9 (diff)
gcc/
Backport from trunk r231275. 2015-12-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/aarch64/aarch64.c (aarch64_override_options_internal): Do not alter target_flags due to TARGET_GENERAL_REGS_ONLY_P. * doc/invoke.texi (AArch64 options): Mention that -mgeneral-regs-only does not affect the assembler directives. gcc/testsuite/ Backport from trunk r231275. 2015-12-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * gcc.target/aarch64/mgeneral-regs_4.c: New test. Change-Id: I6ca753f2f2c93eb7b96a670506172be5666d2bc8
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/gcc.target/aarch64/mgeneral-regs_4.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/aarch64/mgeneral-regs_4.c b/gcc/testsuite/gcc.target/aarch64/mgeneral-regs_4.c
new file mode 100644
index 00000000000..8eb50aafa2b
--- /dev/null
+++ b/gcc/testsuite/gcc.target/aarch64/mgeneral-regs_4.c
@@ -0,0 +1,9 @@
+/* { dg-options "-mgeneral-regs-only -march=armv8-a+simd+fp -O2" } */
+
+int
+test (void)
+{
+ return 1;
+}
+
+/* { dg-final { scan-assembler "\.arch.*fp.*simd" } } */