Lines Matching refs:cw
64 static __inline__ void set_cw(unsigned cw)
66 __asm __volatile("fldcw %0" : : "m" (cw));
71 unsigned cw;
72 __asm __volatile("fstcw %0" : : "m" (cw));
73 return cw & 0xffff;
111 static long double check_lrd_cw(const long double lrd, const unsigned long long ull, const unsigned short us, const unsigned cw)
113 set_cw(cw);
114 if (cw != get_cw())
116 printf("get_cw() -> %#x expected %#x\n", get_cw(), cw);
122 static long double make_lrd_cw(unsigned long long ull, unsigned short us, unsigned cw)
124 set_cw(cw);
125 return check_lrd_cw(make_lrd(ull, us), ull, us, cw);