simdjson
3.11.0
Ridiculously Fast JSON
intrinsics.h
1
#ifndef SIMDJSON_WESTMERE_INTRINSICS_H
2
#define SIMDJSON_WESTMERE_INTRINSICS_H
3
4
#ifndef SIMDJSON_CONDITIONAL_INCLUDE
5
#include "simdjson/westmere/base.h"
6
#endif
// SIMDJSON_CONDITIONAL_INCLUDE
7
8
#if SIMDJSON_VISUAL_STUDIO
9
// under clang within visual studio, this will include <x86intrin.h>
10
#include <intrin.h>
// visual studio or clang
11
#else
12
#include <x86intrin.h>
// elsewhere
13
#endif
// SIMDJSON_VISUAL_STUDIO
14
15
16
#if SIMDJSON_CLANG_VISUAL_STUDIO
25
#include <smmintrin.h>
// for _mm_alignr_epi8
26
#include <wmmintrin.h>
// for _mm_clmulepi64_si128
27
#endif
28
29
static_assert(
sizeof
(__m128i) <=
simdjson::SIMDJSON_PADDING
,
"insufficient padding for westmere"
);
30
31
#endif
// SIMDJSON_WESTMERE_INTRINSICS_H
simdjson::SIMDJSON_PADDING
constexpr size_t SIMDJSON_PADDING
The amount of padding needed in a buffer to parse JSON.
Definition:
base.h:32
include
simdjson
westmere
intrinsics.h
Generated by
1.9.1