Go to the source code of this file.
◆ __MINGW_FPCLASS_DEFINED
#define __MINGW_FPCLASS_DEFINED 1 |
◆ _clear87
◆ _EM_DENORMAL
#define _EM_DENORMAL 0x00080000 |
◆ _EM_INEXACT
#define _EM_INEXACT 0x00000001 |
◆ _EM_INVALID
#define _EM_INVALID 0x00000010 |
◆ _EM_OVERFLOW
#define _EM_OVERFLOW 0x00000004 |
◆ _EM_UNDERFLOW
#define _EM_UNDERFLOW 0x00000002 |
◆ _EM_ZERODIVIDE
#define _EM_ZERODIVIDE 0x00000008 |
◆ _FPCLASS_ND
#define _FPCLASS_ND 0x0010 /* Negative Denormal */ |
◆ _FPCLASS_NINF
#define _FPCLASS_NINF 0x0004 /* Negative Infinity */ |
◆ _FPCLASS_NN
#define _FPCLASS_NN 0x0008 /* Negative Normal */ |
◆ _FPCLASS_NZ
#define _FPCLASS_NZ 0x0020 /* Negative Zero */ |
◆ _FPCLASS_PD
#define _FPCLASS_PD 0x0080 /* Positive Denormal */ |
◆ _FPCLASS_PINF
#define _FPCLASS_PINF 0x0200 /* Positive Infinity */ |
◆ _FPCLASS_PN
#define _FPCLASS_PN 0x0100 /* Positive Normal */ |
◆ _FPCLASS_PZ
#define _FPCLASS_PZ 0x0040 /* Positive Zero */ |
◆ _FPCLASS_QNAN
#define _FPCLASS_QNAN 0x0002 /* Quiet "Not a Number" */ |
◆ _FPCLASS_SNAN
#define _FPCLASS_SNAN 0x0001 /* Signaling "Not a Number" */ |
◆ _FPE_DENORMAL
◆ _FPE_EXPLICITGEN
#define _FPE_EXPLICITGEN 0x8c /* raise( SIGFPE ); */ |
◆ _FPE_INEXACT
◆ _FPE_INVALID
◆ _FPE_OVERFLOW
◆ _FPE_SQRTNEG
◆ _FPE_STACKOVERFLOW
#define _FPE_STACKOVERFLOW 0x8a |
◆ _FPE_STACKUNDERFLOW
#define _FPE_STACKUNDERFLOW 0x8b |
◆ _FPE_UNDERFLOW
◆ _FPE_UNEMULATED
◆ _FPE_ZERODIVIDE
◆ _fpecode
◆ _IC_AFFINE
◆ _IC_PROJECTIVE
#define _IC_PROJECTIVE 0x00000000 |
◆ _MCW_DN
#define _MCW_DN 0x03000000 /* Denormal */ |
◆ _MCW_EM
#define _MCW_EM 0x0008001F /* Error masks */ |
◆ _MCW_IC
#define _MCW_IC 0x00040000 /* Infinity */ |
◆ _MCW_PC
#define _MCW_PC 0x00030000 /* Precision */ |
◆ _MCW_RC
#define _MCW_RC 0x00000300 /* Rounding */ |
◆ _PC_24
◆ _PC_53
◆ _PC_64
◆ _RC_CHOP
◆ _RC_DOWN
◆ _RC_NEAR
◆ _RC_UP
◆ _status87
◆ _SW_SQRTNEG
#define _SW_SQRTNEG 0x0080 /* square root of a neg number */ |
◆ _SW_STACKOVERFLOW
#define _SW_STACKOVERFLOW 0x0200 /* FP stack overflow */ |
◆ _SW_STACKUNDERFLOW
#define _SW_STACKUNDERFLOW 0x0400 /* FP stack underflow */ |
◆ _SW_UNEMULATED
#define _SW_UNEMULATED 0x0040 /* unemulated instruction */ |
◆ __fpecode()
Definition at line 16 of file fpecode.c.
thread_data_t * msvcrt_get_thread_data(void)
◆ _chgsign()
◆ _clearfp()
Definition at line 18 of file clearfp.c.
22 __asm__ __volatile__(
"fnclex" );
unsigned int _statusfp(void)
__asm__("\t.globl GetPhys\n" "GetPhys:\t\n" "mflr 0\n\t" "stwu 0,-16(1)\n\t" "mfmsr 5\n\t" "andi. 6,5,0xffef\n\t" "mtmsr 6\n\t" "isync\n\t" "sync\n\t" "lwz 3,0(3)\n\t" "mtmsr 5\n\t" "isync\n\t" "sync\n\t" "lwz 0,0(1)\n\t" "addi 1,1,16\n\t" "mtlr 0\n\t" "blr")
Referenced by main().
◆ _control87()
◆ _controlfp()
◆ _copysign()
◆ _finite()
Referenced by _j0(), _j1(), _y0(), _y1(), _yn(), format_float(), MSVCRT_I10_OUTPUT(), rpn_exp(), rpn_exp10(), rpn_exp2(), rpn_exp3(), rpn_fact(), rpn_pow_f(), rpn_sqr_f(), run_operator(), and test_finite().
◆ _fpclass()
◆ _fpreset()
Definition at line 13 of file fpreset.c.
15 const unsigned short x86_cw = 0x27f;
18 __asm { fldcw [x86_cw] }
20 __asm__ __volatile__(
"fninit; fldcw %0" : :
"m" (x86_cw) );
24 const unsigned long sse2_cw = 0x1f80;
26 __asm { ldmxcsr [sse2_cw] }
28 __asm__ __volatile__(
"ldmxcsr %0" : :
"m" (sse2_cw) );
__asm__("\t.globl GetPhys\n" "GetPhys:\t\n" "mflr 0\n\t" "stwu 0,-16(1)\n\t" "mfmsr 5\n\t" "andi. 6,5,0xffef\n\t" "mtmsr 6\n\t" "isync\n\t" "sync\n\t" "lwz 3,0(3)\n\t" "mtmsr 5\n\t" "isync\n\t" "sync\n\t" "lwz 0,0(1)\n\t" "addi 1,1,16\n\t" "mtlr 0\n\t" "blr")
BOOL WINAPI IsProcessorFeaturePresent(IN DWORD ProcessorFeature)
#define PF_XMMI64_INSTRUCTIONS_AVAILABLE
◆ _isnan()
Referenced by _nextafter(), format_float(), ldexp(), MSVCRT_I10_OUTPUT(), rpn_acos(), rpn_acosh(), rpn_asin(), rpn_asinh(), rpn_atan(), rpn_atanh(), rpn_cosh(), rpn_pow_f(), rpn_sinh(), rpn_sqr_f(), rpn_tanh(), test_isnan(), and TRIO_ARGS1().
◆ _logb()
◆ _nextafter()
◆ _scalb()
◆ _statusfp()
Definition at line 25 of file statfp.c.
27 unsigned int retVal = 0;
28 unsigned short fpword;
32 #elif defined(__GNUC__) 33 __asm__ __volatile__(
"fstsw %0" :
"=m" (fpword) : );
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
__asm__("\t.globl GetPhys\n" "GetPhys:\t\n" "mflr 0\n\t" "stwu 0,-16(1)\n\t" "mfmsr 5\n\t" "andi. 6,5,0xffef\n\t" "mtmsr 6\n\t" "isync\n\t" "sync\n\t" "lwz 3,0(3)\n\t" "mtmsr 5\n\t" "isync\n\t" "sync\n\t" "lwz 0,0(1)\n\t" "addi 1,1,16\n\t" "mtlr 0\n\t" "blr")
__INTRIN_INLINE unsigned int _mm_getcsr(void)
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
◆ fpreset()