Add execution + assembler tests of AArch64 TRN Intrinsics.
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / test_fp_attribute_2.c
blob675091f841ead5c39141d3887d6a72edaf055a5f
1 /* { dg-do compile } */
2 /* { dg-options "-O0 -fomit-frame-pointer -fno-inline --save-temps" } */
4 void
5 leaf (void)
7 int a = 0;
10 __attribute__ ((optimize("no-omit-frame-pointer")))
11 void
12 non_leaf_1 (void)
14 leaf ();
17 __attribute__ ((optimize("no-omit-frame-pointer")))
18 void
19 non_leaf_2 (void)
21 leaf ();
24 /* { dg-final { scan-assembler-times "stp\tx29, x30, \\\[sp, -\[0-9\]+\\\]!" 2 } } */
26 /* { dg-final { cleanup-saved-temps } } */