- added FPU initialization routines

This commit is contained in:
gbeauche 2000-09-05 16:53:47 +00:00
parent fbc2092471
commit fdf9c9938a

View File

@ -2253,3 +2253,28 @@ void fpp_opp(uae_u32 opcode, uae_u16 extra)
op_illg (opcode);
dump_fp_regs( "END ");
}
/* -------------------------- Initialization -------------------------- */
void fpu_set_integral_fpu (bool is_integral)
{
D(bug("fpu_set_integral_fpu : %s\n", (is_integral ? "yes" : "no")));
}
void fpu_init (void)
{
D(bug("fpu_init\n"));
regs.fpcr = regs.fpsr = regs.fpiar = 0;
}
void fpu_exit (void)
{
D(bug("fpu_exit\n"));
}
void fpu_reset (void)
{
D(bug("fpu_reset\n"));
fpu_exit();
fpu_init();
}