32#include "foundation/PxIntrinsics.h"
33#include "foundation/PxAssert.h"
34#include "foundation/PxFoundationConfig.h"
36#define PX_IR(x) ((PxU32&)(x))
37#define PX_SIR(x) ((PxI32&)(x))
38#define PX_FR(x) ((PxReal&)(x))
40#define PX_FPU_GUARD PxFPUGuard scopedFpGuard;
41#define PX_SIMD_GUARD PxSIMDGuard scopedFpGuard;
42#define PX_SIMD_GUARD_CNDT(x) PxSIMDGuard scopedFpGuard(x);
55 PxU32 mControlWords[8];
65#if !(PX_LINUX || PX_OSX) || (!PX_EMSCRIPTEN && PX_INTEL_FAMILY)
86#include "foundation/windows/PxWindowsFPU.h"
87#elif (PX_LINUX && PX_SSE2) || PX_OSX
88#include "foundation/unix/PxUnixFPU.h"
90PX_INLINE physx::PxSIMDGuard::PxSIMDGuard(
bool)
93PX_INLINE physx::PxSIMDGuard::~PxSIMDGuard()
#define PX_INLINE
Definition PxPreprocessor.h:320
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
PX_FOUNDATION_API void PxEnableFPExceptions()
Enables floating point exceptions for the scalar and SIMD unit.
Definition FdUnixFPU.cpp:82
PX_FOUNDATION_API void PxDisableFPExceptions()
Disables floating point exceptions for the scalar and SIMD unit.
Definition FdUnixFPU.cpp:99