Lines 76-82
Link Here
|
76 |
|
76 |
|
77 |
/* The sigill handlers */ |
77 |
/* The sigill handlers */ |
78 |
#if defined(VISUAL_ARCH_X86) //x86 (linux katmai handler check thing) |
78 |
#if defined(VISUAL_ARCH_X86) //x86 (linux katmai handler check thing) |
79 |
#if defined(VISUAL_OS_LINUX) && defined(_POSIX_SOURCE) && defined(X86_FXSR_MAGIC) |
79 |
#if defined(VISUAL_OS_LINUX) && defined(_POSIX_SOURCE) |
80 |
static void sigill_handler_sse( int signal, struct sigcontext sc ) |
80 |
static void sigill_handler_sse( int signal, struct sigcontext sc ) |
81 |
{ |
81 |
{ |
82 |
/* Both the "xorps %%xmm0,%%xmm0" and "divps %xmm0,%%xmm1" |
82 |
/* Both the "xorps %%xmm0,%%xmm0" and "divps %xmm0,%%xmm1" |
Lines 109-115
Link Here
|
109 |
} |
109 |
} |
110 |
} |
110 |
} |
111 |
#endif |
111 |
#endif |
112 |
#endif /* VISUAL_OS_LINUX && _POSIX_SOURCE && X86_FXSR_MAGIC */ |
112 |
#endif /* VISUAL_OS_LINUX && _POSIX_SOURCE */ |
113 |
|
113 |
|
114 |
#if defined(VISUAL_OS_WIN32) |
114 |
#if defined(VISUAL_OS_WIN32) |
115 |
LONG CALLBACK win32_sig_handler_sse(EXCEPTION_POINTERS* ep) |
115 |
LONG CALLBACK win32_sig_handler_sse(EXCEPTION_POINTERS* ep) |