Print this page
*** 376,386 ****
#if defined(__amd64)
#define test_sse_hw 1
#else
extern int _sse_hw;
! #define test_sse_hw &_sse_hw && _sse_hw
#endif
#if !defined(REG_PC)
#define REG_PC EIP
#endif
--- 376,386 ----
#if defined(__amd64)
#define test_sse_hw 1
#else
extern int _sse_hw;
! #define test_sse_hw _sse_hw
#endif
#if !defined(REG_PC)
#define REG_PC EIP
#endif
*** 392,402 ****
static void
__fex_hdlr(int sig, siginfo_t *sip, ucontext_t *uap)
{
struct fex_handler_data *thr_handlers;
struct sigaction act;
! void (*handler)(), (*simd_handler[4])();
int mode, simd_mode[4], i, len, accrued, *ap;
unsigned int cwsw, oldcwsw, mxcsr, oldmxcsr;
enum fex_exception e, simd_e[4];
fex_info_t info, simd_info[4];
unsigned long addr;
--- 392,402 ----
static void
__fex_hdlr(int sig, siginfo_t *sip, ucontext_t *uap)
{
struct fex_handler_data *thr_handlers;
struct sigaction act;
! void (*handler)() = NULL, (*simd_handler[4])();
int mode, simd_mode[4], i, len, accrued, *ap;
unsigned int cwsw, oldcwsw, mxcsr, oldmxcsr;
enum fex_exception e, simd_e[4];
fex_info_t info, simd_info[4];
unsigned long addr;