22#elif defined (_M_IX86)
27 __asm__ __volatile__(
"fstsw %0" :
"=m" (fpcw) : );
31 #error "Unsupported architecture"
40#elif defined (_M_IX86)
45 __asm__ __volatile__(
"fldcw %0" : :
"m" (fpcw));
48#error "Unsupported architecture"
109 unsigned int i, native_fpcw, fpcw;
123#if defined(_M_IX86) || defined(_M_AMD64)
124void Test_control87(
void)
126 unsigned int native_fpcw, fpcw;
129 ok(fpcw == 0,
"_control87 failed: expected 0x%x, got 0x%x\n", 0, fpcw);
172#if defined(_M_IX86) || defined(_M_AMD64)
181 volatile double a,
b;
182 unsigned long long ull;
185 unsigned int i, exp_fpstatus, native_fpcw, statusfp;
196#if defined(_M_IX86) || defined(_M_AMD64)
222 ull = 0x7FF0000000000001ull;
228 b =
a - 4.9406564584124654e-324;
251 ok(statusfp == exp_fpstatus,
"[%u] Wrong value for _statusfp(). Expected 0x%lx, got 0x%lx\n",
i, exp_fpstatus, statusfp);
259 unsigned int native_fpcw, fpcw, fpstatus;
281#if defined(_M_IX86) || defined(_M_AMD64)
#define ok_hex(expression, result)
unsigned short(__cdecl typeof(TIFFCurrentDirectory))(struct tiff *)
void Test_controlfp(void)
struct @1594 g_exception_Testcases[]
unsigned int get_native_fpcw(void)
void Test_exceptions(void)
void set_native_fpcw(unsigned int value)
struct @1593 g_controlfp_Testcases[]
unsigned int ExceptionCode
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define EXCEPTION_EXECUTE_HANDLER
#define _DN_SAVE_OPERANDS_FLUSH_RESULTS
__MINGW_NOTHROW _CRTIMP unsigned int __cdecl _controlfp(_In_ unsigned int unNew, _In_ unsigned int unMask)
__MINGW_NOTHROW void __cdecl _fpreset(void)
__MINGW_NOTHROW _CRTIMP unsigned int __cdecl _clearfp(void)
#define _DN_FLUSH_OPERANDS_SAVE_RESULTS
__MINGW_NOTHROW _CRTIMP unsigned int __cdecl _statusfp(void)
unsigned int __cdecl _control87(unsigned int, unsigned int)
static float(__cdecl *square_half_float)(float x
#define STATUS_FLOAT_UNDERFLOW
#define STATUS_FLOAT_OVERFLOW
#define STATUS_FLOAT_DIVIDE_BY_ZERO
#define STATUS_FLOAT_INVALID_OPERATION
#define STATUS_FLOAT_INEXACT_RESULT
#define _SEH2_GetExceptionCode()
#define _SEH2_EXCEPT(...)
__asm__(".p2align 4, 0x90\n" ".seh_proc __seh2_global_filter_func\n" "__seh2_global_filter_func:\n" "\tsub %rbp, %rax\n" "\tpush %rbp\n" "\t.seh_pushreg %rbp\n" "\tsub $32, %rsp\n" "\t.seh_stackalloc 32\n" "\t.seh_endprologue\n" "\tsub %rax, %rdx\n" "\tmov %rdx, %rbp\n" "\tjmp *%r8\n" "__seh2_global_filter_func_exit:\n" "\t.p2align 4\n" "\tadd $32, %rsp\n" "\tpop %rbp\n" "\tret\n" "\t.seh_endproc")
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
void _mm_setcsr(unsigned int a)
#define _MM_ROUND_NEAREST
#define _MM_MASK_DIV_ZERO
#define _MM_ROUND_TOWARD_ZERO
#define _MM_MASK_OVERFLOW
unsigned int _mm_getcsr(void)
#define _MM_MASK_UNDERFLOW
#define _MM_FLUSH_ZERO_ON