mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
4c98e51c53
* Add LoongArch SX support * Add LoongArch ASX support
15 lines
432 B
C
15 lines
432 B
C
#ifndef SIMDJSON_LSX_INTRINSICS_H
|
|
#define SIMDJSON_LSX_INTRINSICS_H
|
|
|
|
#ifndef SIMDJSON_CONDITIONAL_INCLUDE
|
|
#include "simdjson/lsx/base.h"
|
|
#endif // SIMDJSON_CONDITIONAL_INCLUDE
|
|
|
|
// This should be the correct header whether
|
|
// you use visual studio or other compilers.
|
|
#include <lsxintrin.h>
|
|
|
|
static_assert(sizeof(__m128i) <= simdjson::SIMDJSON_PADDING, "insufficient padding for LoongArch SX");
|
|
|
|
#endif // SIMDJSON_LSX_INTRINSICS_H
|