Searched refs:mxcsr (Results 1 – 15 of 15) sorted by relevance
32 unsigned int mxcsr; in libc_feholdexcept_sse() local33 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() local54 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[all …]
54 uint32_t mxcsr = get_sse_mxcsr (); in set_sse_mxcsr_bits() local55 mxcsr = (mxcsr & ~mask) | bits; in set_sse_mxcsr_bits()56 set_sse_mxcsr (mxcsr); in set_sse_mxcsr_bits()62 uint32_t mxcsr = get_sse_mxcsr (); in test_sse_mxcsr_bits() local63 printf ("Testing %s: mxcsr = %x\n", test, mxcsr); in test_sse_mxcsr_bits()64 if ((mxcsr & mask) == bits) in test_sse_mxcsr_bits()
83 unsigned int mxcsr; in __fesetenv() local84 __asm__ ("stmxcsr %0" : "=m" (mxcsr)); in __fesetenv()89 mxcsr &= ~FE_ALL_EXCEPT_X86; in __fesetenv()91 mxcsr |= (FE_ALL_EXCEPT_X86 << 7); in __fesetenv()93 mxcsr &= ~0x6000; in __fesetenv()94 mxcsr |= (FE_TONEAREST << 3); in __fesetenv()96 mxcsr &= ~0x8040; in __fesetenv()101 mxcsr &= ~FE_ALL_EXCEPT_X86; in __fesetenv()103 mxcsr &= ~(FE_ALL_EXCEPT << 7); in __fesetenv()105 mxcsr |= (__FE_DENORM << 7); in __fesetenv()[all …]
40 unsigned int mxcsr; in fesetmode() local41 __asm__ ("stmxcsr %0" : "=m" (mxcsr)); in fesetmode()44 mxcsr &= FE_ALL_EXCEPT_X86; in fesetmode()48 mxcsr |= FE_ALL_EXCEPT_X86 << 7; in fesetmode()50 mxcsr |= modep->__mxcsr & ~FE_ALL_EXCEPT_X86; in fesetmode()51 __asm__ ("ldmxcsr %0" : : "m" (mxcsr)); in fesetmode()
30 unsigned int mxcsr; in fesetmode() local31 __asm__ ("stmxcsr %0" : "=m" (mxcsr)); in fesetmode()34 mxcsr &= FE_ALL_EXCEPT_X86; in fesetmode()40 mxcsr |= FE_ALL_EXCEPT_X86 << 7; in fesetmode()45 mxcsr |= modep->__mxcsr & ~FE_ALL_EXCEPT_X86; in fesetmode()48 __asm__ ("ldmxcsr %0" : : "m" (mxcsr)); in fesetmode()
25 int mxcsr; in __fesetround() local39 asm ("stmxcsr %0" : "=m" (*&mxcsr)); in __fesetround()40 mxcsr &= ~ 0x6000; in __fesetround()41 mxcsr |= round << 3; in __fesetround()42 asm ("ldmxcsr %0" : : "m" (*&mxcsr)); in __fesetround()
26 unsigned int mxcsr; in fesetexceptflag() local44 __asm__ ("stmxcsr %0" : "=m" (*&mxcsr)); in fesetexceptflag()46 mxcsr &= ~(excepts & FE_ALL_EXCEPT); in fesetexceptflag()47 mxcsr |= *flagp & excepts & FE_ALL_EXCEPT; in fesetexceptflag()49 __asm__ ("ldmxcsr %0" : : "m" (*&mxcsr)); in fesetexceptflag()
24 unsigned int mxcsr; in fesetexcept() local26 __asm__ ("stmxcsr %0" : "=m" (*&mxcsr)); in fesetexcept()27 mxcsr |= excepts & FE_ALL_EXCEPT; in fesetexcept()28 __asm__ ("ldmxcsr %0" : : "m" (*&mxcsr)); in fesetexcept()
25 unsigned int mxcsr; in feclearexcept() local41 __asm__ ("stmxcsr %0" : "=m" (*&mxcsr)); in feclearexcept()44 mxcsr &= ~excepts; in feclearexcept()47 __asm__ ("ldmxcsr %0" : : "m" (*&mxcsr)); in feclearexcept()
24 unsigned int mxcsr; in __feholdexcept() local34 mxcsr = (envp->__mxcsr | 0x1f80) & ~0x3f; in __feholdexcept()35 __asm__ ("ldmxcsr %0" : : "m" (*&mxcsr)); in __feholdexcept()
35 unsigned int mxcsr; member124 long int mxcsr; member
122 __uint32_t __ctx(mxcsr);
78 __uint32_t mxcsr; member132 __uint32_t mxcsr; member
37 oMXCSR ucontext (__fpregs_mem.mxcsr)
11195 clear whole mxcsr but only exceptions.