* gcc.target/i386/pr70021.c: Add -mtune=skylake.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / fentry.c
blob2449e75fb5d74590081777b059c6289264efecaa
1 /* Test -mfentry */
2 /* { dg-do compile { target { *-*-linux* && { ! ia32 } } } } */
3 /* { dg-options "-fprofile -mfentry" } */
4 /* { dg-final { scan-assembler "__fentry__" } } */
5 /* Origin: Andi Kleen */
6 extern void foobar(const char *);
8 void func(void)
10 foobar ("Hello world\n");
13 void func2(void)
15 int i;
16 for (i = 0; i < 10; i++)
17 foobar ("Hello world");