diff options
Diffstat (limited to 'bolt')
-rw-r--r-- | bolt/test/Inputs/icf-jump-tables.c | 2 | ||||
-rw-r--r-- | bolt/test/X86/Inputs/avx512.c | 7 | ||||
-rw-r--r-- | bolt/test/X86/Inputs/inline-foo.c | 2 |
3 files changed, 2 insertions, 9 deletions
diff --git a/bolt/test/Inputs/icf-jump-tables.c b/bolt/test/Inputs/icf-jump-tables.c index dc2321eadfdc..b5810afb7042 100644 --- a/bolt/test/Inputs/icf-jump-tables.c +++ b/bolt/test/Inputs/icf-jump-tables.c @@ -1,5 +1,3 @@ -#include <stdio.h> - int inc(int x) { switch (x) { case 0: puts("0"); return 1; diff --git a/bolt/test/X86/Inputs/avx512.c b/bolt/test/X86/Inputs/avx512.c index 719037968423..25f9502234bd 100644 --- a/bolt/test/X86/Inputs/avx512.c +++ b/bolt/test/X86/Inputs/avx512.c @@ -1,14 +1,9 @@ -#include <stdio.h> - void use_avx512() { - printf("after first entry\n"); asm (".byte 0x62, 0xe2, 0xf5, 0x70, 0x2c, 0xda"); - asm ("secondary_entry:"); - printf("after secondary entry\n"); + asm("secondary_entry:"); } int main() { - printf("about to use avx-512 instruction...\n"); use_avx512(); return 0; diff --git a/bolt/test/X86/Inputs/inline-foo.c b/bolt/test/X86/Inputs/inline-foo.c index 12c737a67b89..89fa82f832d6 100644 --- a/bolt/test/X86/Inputs/inline-foo.c +++ b/bolt/test/X86/Inputs/inline-foo.c @@ -1,4 +1,4 @@ -#include <stdio.h> +// don't include stdio as the test is linked with -nostdlib void foo() { puts("Hello world!\n"); |