Kernel Math Emulation again

Neil Blackwood nb at terrafix.co.uk
Tue Nov 30 21:04:43 EST 1999


There is some kernel maths emulation stuff in 2.3.18.
You will need to copy it over to which ever version you are using. It works.
Look for directories math-emu.
You will need to change config files and make files as well. Its fairly
easy. Even I managed it.

                                Neil Blackwood
----- Original Message -----
From: <Ole.Reinartz at nokia.com>
To: <linuxppc-embedded at lists.linuxppc.org>
Sent: 30 November 1999 09:03
Subject: Kernel Math Emulation again


>
> Hi there,
>
> I know this was raised here already several times...
> I like to run linux on an 860 with the full distribution NFS mounted
>  ( ftp://linuxppc.cs.nmt.edu/pub/linuxppc/embedded/mbxroot.full.tgz )
> Unfortunately most (or all) or the binaries out of this tar is compiled
> without builtin math emulation. So to run this I need kernel math
emulation.
> I found that in
> arch/ppc/kernel/softemu8xx.c
> there are already some instructions emulated, using the FPU exception (at
> least since version 2.2.5. ). But those are only load/store instructions
> which are in C- compiler generated function pre/post code already when it
is
> compiled without -msoft-float.
> Is there something in the works by someone which will also support all the
> other instructions?
> In time I try to get those in, linking libgcc.a to the kernel (zImage
grows
> about 200k) and implementing the instructions using functions inside it.
But
> until now without great success.
>
> Cheers
> Ole
>
>
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list