Lines Matching refs:fpstate
19 * (Note: fpstate in the signal context is completely ignored for the emulator
351 unsigned char fpstate[FPCONTEXT_SIZE];
368 if (__get_user(*(long *)fpstate, (long __user *)&uc->uc_fpstate))
370 if (CPU_IS_060 ? fpstate[2] : fpstate[0]) {
372 context_size = fpstate[1];
375 (fpstate[0] != fpu_version))
390 if (!(fpstate[3] == 0x00 ||
391 fpstate[3] == 0x60 ||
392 fpstate[3] == 0xe0))
395 if (!(fpstate[3] == 0x00 ||
396 fpstate[3] == 0x05 ||
397 fpstate[3] == 0xe5))
426 __copy_from_user(fpstate + 4, (long __user *)&uc->uc_fpstate + 1,
431 __asm__ volatile ("frestore %0" : : "m" (*fpstate));
436 : : "m" (*fpstate));
502 unsigned char fpstate[FPCONTEXT_SIZE];
517 __asm__ volatile ("fsave %0" : : "m" (*fpstate) : "memory");
522 : : "m" (*fpstate) : "memory");
525 err |= __put_user(*(long *)fpstate, (long __user *)&uc->uc_fpstate);
526 if (CPU_IS_060 ? fpstate[2] : fpstate[0]) {
529 context_size = fpstate[1];
530 fpu_version = fpstate[0];
535 if (*(unsigned short *) fpstate == 0x1f38)
536 fpstate[0x38] |= 1 << 3;
563 err |= copy_to_user((long __user *)&uc->uc_fpstate + 1, fpstate + 4,