mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +00:00
Fix unit tests.
This commit is contained in:
parent
a2ca161024
commit
ec06dd78f9
5 changed files with 138 additions and 132 deletions
|
|
@ -30,7 +30,7 @@ extern void default_matF_x_matF_C(const F32 *a, const F32 *b, F32 *mresult);
|
|||
extern void mInstallLibrary_ASM();
|
||||
|
||||
// If we're x86 and not Mac, then include these. There's probably a better way to do this.
|
||||
#if defined(TORQUE_CPU_X86) && !defined(TORQUE_OS_MAC)
|
||||
#if defined(WIN32) && defined(TORQUE_CPU_X86)
|
||||
extern "C" void Athlon_MatrixF_x_MatrixF(const F32 *matA, const F32 *matB, F32 *result);
|
||||
extern "C" void SSE_MatrixF_x_MatrixF(const F32 *matA, const F32 *matB, F32 *result);
|
||||
#endif
|
||||
|
|
@ -55,7 +55,7 @@ TEST(MatrixF, MultiplyImplmentations)
|
|||
// C will be the baseline
|
||||
default_matF_x_matF_C(m1, m2, mrC);
|
||||
|
||||
#if defined(TORQUE_CPU_X86) && !defined(TORQUE_OS_MAC)
|
||||
#if defined(WIN32) && defined(TORQUE_CPU_X86)
|
||||
// Check the CPU info
|
||||
U32 cpuProperties = Platform::SystemInfo.processor.properties;
|
||||
bool same;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue