[OpenACC] Treat 'delete' as a valid clause during parsing in C++ mode
[llvm-project.git] / clang / test / CodeGen / X86 / att-inline-asm-prefix.c
blob789e1f98a2a15d1a7956bcf107449edbef04388b
1 // REQUIRES: x86-registered-target
3 // RUN:%clang_cc1 %s -ferror-limit 0 -triple=x86_64-pc -target-feature +avx512f -target-feature +avx2 -target-feature +avx512vl -S -o - | FileCheck %s -check-prefix CHECK
5 // This test is to check if the prefix in inline assembly is correctly
6 // preserved.
8 void check_inline_prefix(void) {
9 __asm__ (
10 // CHECK: vcvtps2pd %xmm0, %xmm1
11 // CHECK: {vex} vcvtps2pd %xmm0, %xmm1
12 // CHECK: {vex2} vcvtps2pd %xmm0, %xmm1
13 // CHECK: {vex3} vcvtps2pd %xmm0, %xmm1
14 // CHECK: {evex} vcvtps2pd %xmm0, %xmm1
15 // CHECK: movl $1, (%rax)
16 // CHECK: {disp8} movl $1, (%rax)
17 // CHECK: {disp32} movl $1, (%rax)
18 "vcvtps2pd %xmm0, %xmm1\n\t"
19 "{vex} vcvtps2pd %xmm0, %xmm1\n\t"
20 "{vex2} vcvtps2pd %xmm0, %xmm1\n\t"
21 "{vex3} vcvtps2pd %xmm0, %xmm1\n\t"
22 "{evex} vcvtps2pd %xmm0, %xmm1\n\t"
23 "movl $1, (%rax)\n\t"
24 "{disp8} movl $1, (%rax)\n\t"
25 "{disp32} movl $1, (%rax)\n\t"