| 1 | /*===---- nmmintrin.h - SSE4 intrinsics ------------------------------------=== |
| 2 | * |
| 3 | * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | * See https://llvm.org/LICENSE.txt for license information. |
| 5 | * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 6 | * |
| 7 | *===-----------------------------------------------------------------------=== |
| 8 | */ |
| 9 | |
| 10 | #ifndef __NMMINTRIN_H |
| 11 | #define __NMMINTRIN_H |
| 12 | |
| 13 | #if !defined(__i386__) && !defined(__x86_64__) |
| 14 | #error "This header is only meant to be used on x86 and x64 architecture" |
| 15 | #endif |
| 16 | |
| 17 | /* To match expectations of gcc we put the sse4.2 definitions into smmintrin.h, |
| 18 | just include it now then. */ |
| 19 | #include <smmintrin.h> |
| 20 | #endif /* __NMMINTRIN_H */ |