Revert "[BOLT][TEST] Fix test failures on AArch64 builder"

This reverts commit 88b6d3211c.
This commit is contained in:
Amir Ayupov 2022-05-03 12:45:15 -07:00
parent 88b6d3211c
commit 39492ba5d6
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,5 @@
#include <stdio.h>
int inc(int x) {
switch (x) {
case 0: puts("0"); return 1;

View File

@ -1,9 +1,14 @@
#include <stdio.h>
void use_avx512() {
printf("after first entry\n");
asm (".byte 0x62, 0xe2, 0xf5, 0x70, 0x2c, 0xda");
asm("secondary_entry:");
asm ("secondary_entry:");
printf("after secondary entry\n");
}
int main() {
printf("about to use avx-512 instruction...\n");
use_avx512();
return 0;

View File

@ -1,4 +1,4 @@
// don't include stdio as the test is linked with -nostdlib
#include <stdio.h>
void foo() {
puts("Hello world!\n");