Remove AltiVec compiling for ppcle and ppc64le architectures, since our AltiVec code only works on big-endian systems anyways. Fixes #550.

This commit is contained in:
rogerman 2022-06-19 20:36:50 -07:00
parent 24eb5ed95c
commit a95e4c57c6
1 changed files with 4 additions and 1 deletions

View File

@ -53,7 +53,10 @@
#endif
#ifdef __GNUC__
#ifdef __ALTIVEC__
// Our AltiVec code assumes that its being run on a big-endian system. While
// the ppcle and ppc64le architectures do exist, our AltiVec code does not
// support little-endian right now.
#if defined(__ALTIVEC__) && defined(MSB_FIRST) && (MSB_FIRST > 0)
#define ENABLE_ALTIVEC
#endif