Fix remaining issues on PPC64EL
One AltiVec-related build issue remained Self tests now pass on LE POWER platforms Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
This commit is contained in:
parent
b549e862b0
commit
f8790a536a
2
extern/poshlib/posh.h
vendored
2
extern/poshlib/posh.h
vendored
@ -672,7 +672,7 @@ LLVM:
|
|||||||
** the MIPS series, so we have to be careful about those.
|
** the MIPS series, so we have to be careful about those.
|
||||||
** ----------------------------------------------------------------------------
|
** ----------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
#if defined POSH_CPU_X86 || defined POSH_CPU_AXP || defined POSH_CPU_STRONGARM || defined POSH_CPU_AARCH64 || defined POSH_OS_WIN32 || defined POSH_OS_WINCE || defined __MIPSEL__
|
#if defined POSH_CPU_X86 || defined POSH_CPU_AXP || defined POSH_CPU_STRONGARM || defined POSH_CPU_AARCH64 || defined POSH_OS_WIN32 || defined POSH_OS_WINCE || defined __MIPSEL__ || defined __ORDER_LITTLE_ENDIAN__
|
||||||
# define POSH_ENDIAN_STRING "little"
|
# define POSH_ENDIAN_STRING "little"
|
||||||
# define POSH_LITTLE_ENDIAN 1
|
# define POSH_LITTLE_ENDIAN 1
|
||||||
#else
|
#else
|
||||||
|
@ -26,10 +26,18 @@
|
|||||||
#ifndef NV_SQUISH_MATHS_H
|
#ifndef NV_SQUISH_MATHS_H
|
||||||
#define NV_SQUISH_MATHS_H
|
#define NV_SQUISH_MATHS_H
|
||||||
|
|
||||||
|
#if NV_USE_ALTIVEC
|
||||||
|
#undef vector
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
#if NV_USE_ALTIVEC
|
||||||
|
#define vector __vector
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace nvsquish {
|
namespace nvsquish {
|
||||||
|
|
||||||
class Vec3
|
class Vec3
|
||||||
|
Loading…
Reference in New Issue
Block a user