mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-18 04:53:06 +01:00
Fixed iOS build.
This commit is contained in:
@@ -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];
|
||||
|
||||
@@ -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************************************")
|
||||
|
||||
Reference in New Issue
Block a user