Re: m68k FPU emulation: Unimplemented instruction
Thorsten Glaser writes:
> Ingo Jürgensmann dixit:
>
> > echo line to know which module is currently compiled) you might find the module
> > in question that generates that FPU error and investigate further then.
>
> It’s not an error. Python (rightfully) runs some FPU instruction,
> it just happens to be one the FPU emulator lacks, because it’s
> incomplete.
>
> Maybe we can have a GCC -m* flag that tells it to not emit those
> instructions? (Maybe call library functions then or something.)
FLOGN was implemented in HW on 68881/2, but traps as unimplemented
on 040/060. GCC cannot generate it, but <math-68881.h> contains some
functions that emit it via inline asm(). Dunno about GLIBC.
I suggest extending the kernel's FPU emulator to handle it.
/Mikael
Reply to: