Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
emscripten-core
GitHub Repository: emscripten-core/emscripten
Path: blob/main/system/include/compat/nmmintrin.h
6171 views
1
/*
2
* Copyright 2020 The Emscripten Authors. All rights reserved.
3
* Emscripten is available under two separate licenses, the MIT license and the
4
* University of Illinois/NCSA Open Source License. Both these licenses can be
5
* found in the LICENSE file.
6
*/
7
#ifndef __emscripten_nmmintrin_h__
8
#define __emscripten_nmmintrin_h__
9
10
#ifndef __SSE4_2__
11
#error "SSE4.2 instruction set not enabled"
12
#endif
13
14
#include <smmintrin.h>
15
16
static __inline__ __m128i __attribute__((__always_inline__, __nodebug__))
17
_mm_cmpgt_epi64(__m128i __a, __m128i __b)
18
{
19
return wasm_i64x2_gt(__a, __b);
20
}
21
22
// Unsupported functions:
23
// _mm_cmpestra
24
// _mm_cmpestrc
25
// _mm_cmpestri
26
// _mm_cmpestrm
27
// _mm_cmpestro
28
// _mm_cmpestrs
29
// _mm_cmpestrz
30
// _mm_cmpistra
31
// _mm_cmpistrc
32
// _mm_cmpistri
33
// _mm_cmpistrm
34
// _mm_cmpistro
35
// _mm_cmpistrs
36
// _mm_cmpistrz
37
// _mm_crc32_u16
38
// _mm_crc32_u32
39
// _mm_crc32_u64
40
// _mm_crc32_u8
41
42
#endif /* __emscripten_nmmintrin_h__ */
43
44