build: keep __POWER9_VECTOR__ ifdef and extend with __powerpc64__

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
Roger Meier 2023-11-17 16:46:33 +01:00 committed by GitHub
parent f9deafe825
commit 0389ed9ccb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,7 +39,7 @@ inline static int32_t vaddvq_s32(int32x4_t v) {
#ifdef __wasm_simd128__
#include <wasm_simd128.h>
#else
#ifdef __powerpc64__
#if defined(__POWER9_VECTOR__) || defined(__powerpc64__)
#include <altivec.h>
#undef bool
#define bool _Bool