__asm__ __volatile__("fstw %%fr0,0(%1)" : "=m" (ofpsr) : "r" (&ofpsr)); fpsr = (ofpsr & ~0x600) | (FP_RN << 9); __asm__ __volatile__("fldw 0(%0), %%fr0" :: "r" (&fpsr));
__asm__ __volatile__("fstds %%fr0,0(%1)" : "=m" (ofpsr) : "r" (&ofpsr)); fpsr = (ofpsr & ~((u_int64_t)FP_RM << (9 + 32))) | ((u_int64_t)FP_RN << (9 + 32)); __asm__ __volatile__("fldds 0(%0), %%fr0" :: "r" (&fpsr));
floor(double x){	u_int32_t ofpsr, fpsr;	__asm__ __volatile__("fstw %%fr0,0(%1)" : "=m" (ofpsr) : "r" (&ofpsr));	fpsr = (ofpsr & ~0x600) | (FP_RN << 9);	__asm__ __volatile__("fldw 0(%0), %%fr0" :: "r" (&fpsr));	__asm__ __volatile__("frnd,dbl %0,%0" : "+f" (x));	__asm__ __volatile__("fldw 0(%0), %%fr0" :: "r" (&ofpsr));	return (x);}