Lines Matching refs:fp
407 struct fpstate fp1, *fp = &fp1;
409 fp->fpuc = env->fpuc;
410 fp->fpus = (env->fpus & ~0x3800) | (env->fpstt & 0x7) << 11;
420 fp->fptag = fptag;
423 memcpy(&fp->fpregs1[i * 10], &env->fpregs[j].d, 10);
426 asm volatile ("frstor %0" : "=m" (*fp));
433 struct fpstate fp1, *fp = &fp1;
435 asm volatile ("fsave %0" : : "m" (*fp));
436 env->fpuc = fp->fpuc;
437 env->fpstt = (fp->fpus >> 11) & 7;
438 env->fpus = fp->fpus & ~0x3800;
439 fptag = fp->fptag;
446 memcpy(&env->fpregs[j].d, &fp->fpregs1[i * 10], 10);
456 struct fpxstate *fp = &fpx1;
459 fp->fpuc = env->fpuc;
460 fp->fpus = (env->fpus & ~0x3800) | (env->fpstt & 0x7) << 11;
464 fp->fptag = fptag ^ 0xff;
468 memcpy(&fp->fpregs1[i * 16], &env->fpregs[j].d, 10);
472 fp->mxcsr = env->mxcsr;
474 fp->mxcsr_mask = 0xffff;
475 memcpy(fp->xmm_regs, env->xmm_regs, CPU_NB_REGS * 16);
477 asm volatile ("fxrstor %0" : "=m" (*fp));
482 struct fpxstate *fp = &fpx1;
486 asm volatile ("fxsave %0" : : "m" (*fp));
487 env->fpuc = fp->fpuc;
488 env->fpstt = (fp->fpus >> 11) & 7;
489 env->fpus = fp->fpus & ~0x3800;
490 fptag = fp->fptag ^ 0xff;
496 memcpy(&env->fpregs[j].d, &fp->fpregs1[i * 16], 10);
500 env->mxcsr = fp->mxcsr;
501 memcpy(env->xmm_regs, fp->xmm_regs, CPU_NB_REGS * 16);