Skip to content

Commit

Permalink
add loongarch64 (#2141)
Browse files Browse the repository at this point in the history
  • Loading branch information
shipujin committed Feb 26, 2024
1 parent 34a01ec commit a90cb5d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/simdjson/portability.h
Expand Up @@ -38,6 +38,8 @@
#define SIMDJSON_IS_ARM64 1
#elif defined(__riscv) && __riscv_xlen == 64
#define SIMDJSON_IS_RISCV64 1
#elif defined(__loongarch_lp64)
#define SIMDJSON_IS_LOONGARCH64 1
#elif defined(__PPC64__) || defined(_M_PPC64)
#if defined(__ALTIVEC__)
#define SIMDJSON_IS_PPC64_VMX 1
Expand Down
2 changes: 2 additions & 0 deletions singleheader/simdjson.cpp
Expand Up @@ -111,6 +111,8 @@
#define SIMDJSON_IS_ARM64 1
#elif defined(__riscv) && __riscv_xlen == 64
#define SIMDJSON_IS_RISCV64 1
#elif defined(__loongarch_lp64)
#define SIMDJSON_IS_LOONGARCH64 1
#elif defined(__PPC64__) || defined(_M_PPC64)
#if defined(__ALTIVEC__)
#define SIMDJSON_IS_PPC64_VMX 1
Expand Down
2 changes: 2 additions & 0 deletions singleheader/simdjson.h
Expand Up @@ -131,6 +131,8 @@
#define SIMDJSON_IS_ARM64 1
#elif defined(__riscv) && __riscv_xlen == 64
#define SIMDJSON_IS_RISCV64 1
#elif defined(__loongarch_lp64)
#define SIMDJSON_IS_LOONGARCH64 1
#elif defined(__PPC64__) || defined(_M_PPC64)
#if defined(__ALTIVEC__)
#define SIMDJSON_IS_PPC64_VMX 1
Expand Down

0 comments on commit a90cb5d

Please sign in to comment.