Lines Matching refs:mxcsr
66 __INITIAL_MXCSR__ /* MXCSR register */
78 unsigned int mxcsr;
92 __asm__ __volatile__ ("stmxcsr %0" : "=m" (mxcsr));
93 mxcsr &= ~excepts;
94 __asm__ __volatile__ ("ldmxcsr %0" : : "m" (mxcsr));
108 unsigned int mxcsr;
115 /* Store the MXCSR register */
116 __asm__ __volatile__ ("stmxcsr %0" : "=m" (mxcsr));
119 *flagp = (status | mxcsr) & excepts;
154 unsigned int mxcsr;
169 __asm__ __volatile__ ("stmxcsr %0" : "=m" (mxcsr));
170 mxcsr &= ~excepts;
171 mxcsr |= *flagp & excepts;
172 __asm__ __volatile__ ("ldmxcsr %0" : : "m" (mxcsr));
186 unsigned int mxcsr;
193 /* Store the MXCSR register state */
194 __asm__ __volatile__ ("stmxcsr %0" : "=m" (mxcsr));
196 return ((status | mxcsr) & excepts);
227 unsigned int mxcsr;
244 __asm__ __volatile__ ("stmxcsr %0" : "=m" (mxcsr));
245 mxcsr &= ~(X87_ROUND_MASK << SSE_ROUND_SHIFT);
246 mxcsr |= round << SSE_ROUND_SHIFT;
247 __asm__ __volatile__ ("ldmxcsr %0" : : "m" (mxcsr));
262 /* Store the MXCSR register state */
287 unsigned int mxcsr;
295 /* Store the MXCSR register state */
298 /* Clear exception flags in MXCSR */
299 mxcsr = envp->__mxcsr;
300 mxcsr &= ~FE_ALL_EXCEPT;
303 mxcsr |= FE_ALL_EXCEPT << SSE_MASK_SHIFT;
305 /* Store the MXCSR register */
306 __asm__ __volatile__ ("ldmxcsr %0" : : "m" (mxcsr));
325 /* Store the MXCSR register */
343 unsigned int mxcsr;
348 /* Store the MXCSR register */
349 __asm__ __volatile__ ("stmxcsr %0" : "=m" (mxcsr));
355 feraiseexcept(status | mxcsr);
366 unsigned int mxcsr, omask;
372 __asm__ __volatile__ ("stmxcsr %0" : "=m" (mxcsr));
374 omask = ~(control | (mxcsr >> SSE_MASK_SHIFT)) & FE_ALL_EXCEPT;
378 mxcsr &= ~(mask << SSE_MASK_SHIFT);
379 __asm__ __volatile__ ("ldmxcsr %0" : : "m" (mxcsr));
387 unsigned int mxcsr, omask;
393 __asm__ __volatile__ ("stmxcsr %0" : "=m" (mxcsr));
395 omask = ~(control | (mxcsr >> SSE_MASK_SHIFT)) & FE_ALL_EXCEPT;
399 mxcsr |= mask << SSE_MASK_SHIFT;
400 __asm__ __volatile__ ("ldmxcsr %0" : : "m" (mxcsr));