brintos

brintos / llvm-project-archived public Read only

0
0
Text · 412 B · 776ef75 Raw
16 lines · c
1// RUN: %clang_cc1 -fsyntax-only -ffreestanding %s -verify2// RUN: %clang_cc1 -fsyntax-only -ffreestanding -x c++ %s -verify3// expected-no-diagnostics4 5// XFAIL: target=arm64ec-pc-windows-msvc6// These intrinsics are not yet implemented for Arm64EC.7 8#if defined(i386) || defined(__x86_64__)9#include <pmmintrin.h>10 11int __attribute__((__target__(("sse3")))) foo(int a) {12  _mm_mwait(0, 0);13  return 4;14}15#endif16