diff clang/lib/Headers/ammintrin.h @ 236:c4bab56944e8 llvm-original

LLVM 16
author kono
date Wed, 09 Nov 2022 17:45:10 +0900
parents 1d019706d866
children
line wrap: on
line diff
--- a/clang/lib/Headers/ammintrin.h	Wed Jul 21 10:27:27 2021 +0900
+++ b/clang/lib/Headers/ammintrin.h	Wed Nov 09 17:45:10 2022 +0900
@@ -10,6 +10,10 @@
 #ifndef __AMMINTRIN_H
 #define __AMMINTRIN_H
 
+#if !defined(__i386__) && !defined(__x86_64__)
+#error "This header is only meant to be used on x86 and x64 architecture"
+#endif
+
 #include <pmmintrin.h>
 
 /* Define the default attributes for the functions in this file. */