brintos

brintos / llvm-project-archived public Read only

0
0
Text · 406 B · 1321d95 Raw
12 lines · c
1// RUN: %clang_cc1 -ffreestanding %s -triple=i386-pc-win32 -target-feature -sse2 -emit-llvm -o - -Wall -Werror | FileCheck %s2// RUN: %clang_cc1 -ffreestanding %s -triple=i386-pc-win32 -target-feature +sse2 -emit-llvm -o - -Wall -Werror | FileCheck %s3 4 5#include <x86intrin.h>6 7void test_mm_pause(void) {8  // CHECK-LABEL: test_mm_pause9  // CHECK: call void @llvm.x86.sse2.pause()10  return _mm_pause();11}12