Welcome to mirror list, hosted at ThFree Co, Russian Federation.

avx512.c « Inputs « X86 « test « bolt - github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 719037968423fd1695376a97adbe4b47f81c2a14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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");
}

int main() {
  printf("about to use avx-512 instruction...\n");
  use_avx512();

  return 0;
}