| 1 |
// RUN: %clang_cc1 %s -ffreestanding -triple i386-unknown-unknown -target-feature +tsxldtrk -emit-llvm -o - | FileCheck %s |
| 2 |
// RUN: %clang_cc1 %s -ffreestanding -triple x86_64-unknown-unknown -target-feature +tsxldtrk -emit-llvm -o - | FileCheck %s |
| 3 |
|
| 4 |
#include <immintrin.h> |
| 5 |
|
| 6 |
void test_xsusldtrk(void) { |
| 7 |
// CHECK-LABEL: test_xsusldtrk |
| 8 |
// CHECK: call void @llvm.x86.xsusldtrk() |
| 9 |
_xsusldtrk(); |
| 10 |
} |
| 11 |
|
| 12 |
void test_xresldtrk(void) { |
| 13 |
// CHECK-LABEL: test_xresldtrk |
| 14 |
// CHECK: call void @llvm.x86.xresldtrk() |
| 15 |
_xresldtrk(); |
| 16 |
} |