Fixed iOS build.

This commit is contained in:
bkaradzic
2013-12-29 14:31:21 -08:00
parent f2465be6bb
commit 60a24bd55b
2 changed files with 3 additions and 3 deletions

View File

@@ -419,7 +419,7 @@ IMPLEMENT_TEST(xyzw , 0xf);
return result;
}
BX_NO_INLINE float4_t float4_max(float4_t _a, float4_t _b)
BX_FLOAT4_INLINE float4_t float4_max(float4_t _a, float4_t _b)
{
float4_t result;
result.fxyzw[0] = _a.fxyzw[0] > _b.fxyzw[0] ? _a.fxyzw[0] : _b.fxyzw[0];
@@ -539,7 +539,7 @@ IMPLEMENT_TEST(xyzw , 0xf);
return result;
}
BX_NO_INLINE float4_t float4_imax(float4_t _a, float4_t _b)
BX_FLOAT4_INLINE float4_t float4_imax(float4_t _a, float4_t _b)
{
float4_t result;
result.ixyzw[0] = _a.ixyzw[0] > _b.ixyzw[0] ? _a.ixyzw[0] : _b.ixyzw[0];

View File

@@ -12,7 +12,7 @@
#if defined(__SSE2__) || (BX_COMPILER_MSVC && (BX_ARCH_64BIT || _M_IX86_FP >= 2) )
# include "float4_sse.h"
#elif __ARM_NEON__
#elif __ARM_NEON__ && !BX_COMPILER_CLANG
# include "float4_neon.h"
#else
# pragma message("************************************\nUsing SIMD reference implementation!\n************************************")