brintos

brintos / llvm-project-archived public Read only

0
0
Text · 516 B · 62f2c9e Raw
17 lines · c
1// RUN: %clang_cc1 %s -ffreestanding -triple i386-unknown-unknown -target-feature +tsxldtrk -emit-llvm -o - | FileCheck %s2// RUN: %clang_cc1 %s -ffreestanding -triple x86_64-unknown-unknown -target-feature +tsxldtrk -emit-llvm -o - | FileCheck %s3 4#include <immintrin.h>5 6void test_xsusldtrk(void) {7// CHECK-LABEL: test_xsusldtrk8// CHECK: call void @llvm.x86.xsusldtrk()9    _xsusldtrk();10}11 12void test_xresldtrk(void) {13// CHECK-LABEL: test_xresldtrk14// CHECK: call void @llvm.x86.xresldtrk()15    _xresldtrk();16}17