11#ifdef JPH_FLOATING_POINT_EXCEPTIONS_ENABLED
13#if defined(JPH_CPU_WASM)
21#elif defined(JPH_USE_SSE)
24class FPExceptionsEnable :
public FPControlWord<0, _MM_MASK_DIV_ZERO | _MM_MASK_INVALID | _MM_MASK_OVERFLOW> { };
35#elif defined(JPH_CPU_ARM) && defined(JPH_COMPILER_MSVC)
38class FPExceptionsEnable :
public FPControlWord<0, _EM_INVALID | _EM_ZERODIVIDE | _EM_OVERFLOW> { };
49#elif defined(JPH_CPU_ARM)
52static constexpr uint64 FP_IOE = 1 << 8;
55static constexpr uint64 FP_DZE = 1 << 9;
58static constexpr uint64 FP_OFE = 1 << 10;
61class FPExceptionsEnable :
public FPControlWord<FP_IOE | FP_DZE | FP_OFE, FP_IOE | FP_DZE | FP_OFE> { };
72#elif defined(JPH_CPU_RISCV)
74#error "RISC-V only implements manually checking if exceptions occurred by reading the fcsr register. It doesn't generate exceptions. JPH_FLOATING_POINT_EXCEPTIONS_ENABLED must be disabled."
76#elif defined(JPH_CPU_PPC)
78#error PowerPC floating point exception handling to be implemented. JPH_FLOATING_POINT_EXCEPTIONS_ENABLED must be disabled.
82#error Unsupported CPU architecture
std::uint64_t uint64
Definition Core.h:485
#define JPH_NAMESPACE_END
Definition Core.h:414
#define JPH_NAMESPACE_BEGIN
Definition Core.h:408
Definition FPException.h:91
Definition FPException.h:90
Definition FPException.h:92
Dummy implementations.
Definition FPException.h:89