summaryrefslogtreecommitdiffstats
path: root/lib/Headers/x86intrin.h
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2012-10-11 00:59:55 +0000
committerManman Ren <mren@apple.com>2012-10-11 00:59:55 +0000
commit146e5a4a787a2ebfe89a6b74e7c22d850bf1c858 (patch)
tree8774ff332c6f10959f86969bc5482cc847b4bc56 /lib/Headers/x86intrin.h
parent4145228b758892afd3545835a4caaea722f20510 (diff)
X86: add F16C support in Clang
Support the following intrinsics: _mm_cvtph_ps, _mm256_cvtph_ps, _mm_cvtps_ph, _mm256_cvtps_ph rdar://12407875 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165685 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Headers/x86intrin.h')
-rw-r--r--lib/Headers/x86intrin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Headers/x86intrin.h b/lib/Headers/x86intrin.h
index 556cd011f0..68ce106be3 100644
--- a/lib/Headers/x86intrin.h
+++ b/lib/Headers/x86intrin.h
@@ -58,6 +58,10 @@
#include <xopintrin.h>
#endif
+#ifdef __F16C__
+#include <f16cintrin.h>
+#endif
+
// FIXME: LWP
#endif /* __X86INTRIN_H */