fsave
| fsave offsets and bit definitions
| Offsets are defined from the end of an fsave because the last 10
| These equates are used to access the exception frame, the fsave
| fsave -(a7)
| | FPU fsave area |
| fsave sizes and formats
| offsets refer to the Local Variable area and the fsave area.
| The fsave frame is also accessible from the top via A7.
| Sometimes the exception handler will transform the fsave area
| a second fsave frame can be pushed onto the stack and the
struct fregs_state fsave;
asm volatile("fnsave %[fp]; fwait" : [fp] "=m" (fpu->fpstate->regs.fsave));
frstor(&fpu->fpstate->regs.fsave);
frstor(&fpstate->regs.fsave);
fpstate->regs.fsave.cwd = 0xffff037fu;
fpstate->regs.fsave.swd = 0xffff0000u;
fpstate->regs.fsave.twd = 0xffffffffu;
fpstate->regs.fsave.fos = 0xffff0000u;
frstor(&init_fpstate.regs.fsave);
cwd = (unsigned short)fpu->fpstate->regs.fsave.cwd;
swd = (unsigned short)fpu->fpstate->regs.fsave.swd;
return membuf_write(&to, &fpu->fpstate->regs.fsave,
memcpy(&fpu->fpstate->regs.fsave, &env, sizeof(env));
extern void fsave(fpu_addr_modes addr_modes, u_char __user *data_address);
fsave(addr_modes, (u_char __user *) data_address);