aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/clang/lib/Headers/nmmintrin.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/clang/lib/Headers/nmmintrin.h')
-rw-r--r--contrib/llvm-project/clang/lib/Headers/nmmintrin.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/llvm-project/clang/lib/Headers/nmmintrin.h b/contrib/llvm-project/clang/lib/Headers/nmmintrin.h
new file mode 100644
index 000000000000..59fc7ec99e61
--- /dev/null
+++ b/contrib/llvm-project/clang/lib/Headers/nmmintrin.h
@@ -0,0 +1,20 @@
+/*===---- nmmintrin.h - SSE4 intrinsics ------------------------------------===
+ *
+ * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+ * See https://llvm.org/LICENSE.txt for license information.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+ *
+ *===-----------------------------------------------------------------------===
+ */
+
+#ifndef __NMMINTRIN_H
+#define __NMMINTRIN_H
+
+#if !defined(__i386__) && !defined(__x86_64__)
+#error "This header is only meant to be used on x86 and x64 architecture"
+#endif
+
+/* To match expectations of gcc we put the sse4.2 definitions into smmintrin.h,
+ just include it now then. */
+#include <smmintrin.h>
+#endif /* __NMMINTRIN_H */