Rev 1724 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1724 | Rev 1735 | ||
---|---|---|---|
Line 133... | Line 133... | ||
133 | asm |
133 | asm |
134 | ( |
134 | ( |
135 | "stmxcsr %0;\n" |
135 | "stmxcsr %0;\n" |
136 | :"=m"(mxcsr) |
136 | :"=m"(mxcsr) |
137 | ); |
137 | ); |
138 | fault_if_from_uspace(istate, "SIMD FP exception(19), MXCSR: %#zX", |
138 | fault_if_from_uspace(istate, "SIMD FP exception(19), MXCSR: %#zx", |
139 | (__native)mxcsr); |
139 | (__native)mxcsr); |
140 | 140 | ||
141 | PRINT_INFO_ERRCODE(istate); |
141 | PRINT_INFO_ERRCODE(istate); |
142 | printf("MXCSR: %#zX\n",(__native)(mxcsr)); |
142 | printf("MXCSR: %#zx\n",(__native)(mxcsr)); |
143 | panic("SIMD FP exception(19)\n"); |
143 | panic("SIMD FP exception(19)\n"); |
144 | } |
144 | } |
145 | 145 | ||
146 | void nm_fault(int n, istate_t *istate) |
146 | void nm_fault(int n, istate_t *istate) |
147 | { |
147 | { |