Lines Matching refs:sc_fpstate
268 if (CPU_IS_060 ? sc->sc_fpstate[2] : sc->sc_fpstate[0]) { in restore_fpu_state()
271 (sc->sc_fpstate[0] != fpu_version)) in restore_fpu_state()
275 !(sc->sc_fpstate[1] == 0x18 || sc->sc_fpstate[1] == 0xb4)) in restore_fpu_state()
278 !(sc->sc_fpstate[1] == 0x38 || sc->sc_fpstate[1] == 0xd4)) in restore_fpu_state()
281 if (!(sc->sc_fpstate[1] == 0x00 || in restore_fpu_state()
282 sc->sc_fpstate[1] == 0x28 || in restore_fpu_state()
283 sc->sc_fpstate[1] == 0x60)) in restore_fpu_state()
286 if (!(sc->sc_fpstate[3] == 0x00 || in restore_fpu_state()
287 sc->sc_fpstate[3] == 0x60 || in restore_fpu_state()
288 sc->sc_fpstate[3] == 0xe0)) in restore_fpu_state()
291 if (!(sc->sc_fpstate[0] == 0x00 || in restore_fpu_state()
292 sc->sc_fpstate[0] == 0x05 || in restore_fpu_state()
293 sc->sc_fpstate[0] == 0xe5)) in restore_fpu_state()
320 __asm__ volatile ("frestore %0" : : "m" (*sc->sc_fpstate)); in restore_fpu_state()
325 : : "m" (*sc->sc_fpstate)); in restore_fpu_state()
442 : : "m" (*sc->sc_fpstate) : "memory"); in save_fpu_state()
447 : : "m" (*sc->sc_fpstate) : "memory"); in save_fpu_state()
450 if (CPU_IS_060 ? sc->sc_fpstate[2] : sc->sc_fpstate[0]) { in save_fpu_state()
451 fpu_version = sc->sc_fpstate[0]; in save_fpu_state()
456 if (*(unsigned short *) sc->sc_fpstate == 0x1f38) in save_fpu_state()
457 sc->sc_fpstate[0x38] |= 1 << 3; in save_fpu_state()