Logan Chien | df4f766 | 2019-09-04 16:45:23 -0700 | [diff] [blame] | 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 | |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 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 | |
Logan Chien | df4f766 | 2019-09-04 16:45:23 -0700 | [diff] [blame] | 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 */ |