mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
3fde8a4eac
* Patch for possible AVX-512 overflow. * Updating the test for new padding. * Preparing new version. * replace binary integer literals with hex literals for C++11 compatibility (#1855) Binary integer literals are a C++14 feature, so those are not supported in C++11 and should be replaced by hexadecimal literals instead. Fixes #1854. Co-authored-by: Dirk Stolle <striezel-dev@web.de>
22 lines
510 B
C
22 lines
510 B
C
#ifndef SIMDJSON_PPC64_INTRINSICS_H
|
|
#define SIMDJSON_PPC64_INTRINSICS_H
|
|
|
|
#include "simdjson/base.h"
|
|
|
|
// This should be the correct header whether
|
|
// you use visual studio or other compilers.
|
|
#include <altivec.h>
|
|
|
|
// These are defined by altivec.h in GCC toolchain, it is safe to undef them.
|
|
#ifdef bool
|
|
#undef bool
|
|
#endif
|
|
|
|
#ifdef vector
|
|
#undef vector
|
|
#endif
|
|
|
|
static_assert(sizeof(__vector unsigned char) <= simdjson::SIMDJSON_PADDING, "insufficient padding for ppc64");
|
|
|
|
#endif // SIMDJSON_PPC64_INTRINSICS_H
|