Lines Matching refs:mxcsr
32 unsigned int mxcsr; in libc_feholdexcept_sse() local
33 asm (STMXCSR " %0" : "=m" (*&mxcsr)); in libc_feholdexcept_sse()
34 e->__mxcsr = mxcsr; in libc_feholdexcept_sse()
35 mxcsr = (mxcsr | 0x1f80) & ~0x3f; in libc_feholdexcept_sse()
36 asm volatile (LDMXCSR " %0" : : "m" (*&mxcsr)); in libc_feholdexcept_sse()
53 unsigned int mxcsr; in libc_fesetround_sse() local
54 asm (STMXCSR " %0" : "=m" (*&mxcsr)); in libc_fesetround_sse()
55 mxcsr = (mxcsr & ~0x6000) | (r << 3); in libc_fesetround_sse()
56 asm volatile (LDMXCSR " %0" : : "m" (*&mxcsr)); in libc_fesetround_sse()
71 unsigned int mxcsr; in libc_feholdexcept_setround_sse() local
72 asm (STMXCSR " %0" : "=m" (*&mxcsr)); in libc_feholdexcept_setround_sse()
73 e->__mxcsr = mxcsr; in libc_feholdexcept_setround_sse()
74 mxcsr = ((mxcsr | 0x1f80) & ~0x603f) | (r << 3); in libc_feholdexcept_setround_sse()
75 asm volatile (LDMXCSR " %0" : : "m" (*&mxcsr)); in libc_feholdexcept_setround_sse()
106 unsigned int mxcsr; in libc_fetestexcept_sse() local
107 asm volatile (STMXCSR " %0" : "=m" (*&mxcsr)); in libc_fetestexcept_sse()
108 return mxcsr & e & FE_ALL_EXCEPT; in libc_fetestexcept_sse()
139 unsigned int mxcsr, old_mxcsr, cur_ex; in libc_feupdateenv_test_sse() local
140 asm volatile (STMXCSR " %0" : "=m" (*&mxcsr)); in libc_feupdateenv_test_sse()
141 cur_ex = mxcsr & FE_ALL_EXCEPT; in libc_feupdateenv_test_sse()
145 mxcsr = old_mxcsr | cur_ex; in libc_feupdateenv_test_sse()
146 asm volatile (LDMXCSR " %0" : : "m" (*&mxcsr)); in libc_feupdateenv_test_sse()
191 unsigned int mxcsr; in libc_feholdsetround_sse() local
192 asm (STMXCSR " %0" : "=m" (*&mxcsr)); in libc_feholdsetround_sse()
193 e->__mxcsr = mxcsr; in libc_feholdsetround_sse()
194 mxcsr = (mxcsr & ~0x6000) | (r << 3); in libc_feholdsetround_sse()
195 asm volatile (LDMXCSR " %0" : : "m" (*&mxcsr)); in libc_feholdsetround_sse()
225 unsigned int mxcsr; in libc_feresetround_sse() local
226 asm (STMXCSR " %0" : "=m" (*&mxcsr)); in libc_feresetround_sse()
227 mxcsr = (mxcsr & ~0x6000) | (e->__mxcsr & 0x6000); in libc_feresetround_sse()
228 asm volatile (LDMXCSR " %0" : : "m" (*&mxcsr)); in libc_feresetround_sse()
317 unsigned int mxcsr, new_mxcsr; in libc_feholdexcept_setround_sse_ctx() local
318 asm (STMXCSR " %0" : "=m" (*&mxcsr)); in libc_feholdexcept_setround_sse_ctx()
319 new_mxcsr = ((mxcsr | 0x1f80) & ~0x603f) | (r << 3); in libc_feholdexcept_setround_sse_ctx()
321 ctx->env.__mxcsr = mxcsr; in libc_feholdexcept_setround_sse_ctx()
322 if (__glibc_unlikely (mxcsr != new_mxcsr)) in libc_feholdexcept_setround_sse_ctx()
413 unsigned int mxcsr, new_mxcsr; in libc_feholdsetround_sse_ctx() local
415 asm (STMXCSR " %0" : "=m" (*&mxcsr)); in libc_feholdsetround_sse_ctx()
416 new_mxcsr = (mxcsr & ~0x6000) | (r << 3); in libc_feholdsetround_sse_ctx()
418 ctx->env.__mxcsr = mxcsr; in libc_feholdsetround_sse_ctx()
419 if (__glibc_unlikely (new_mxcsr != mxcsr)) in libc_feholdsetround_sse_ctx()