[PATCH] math-emu: delete PowerPC old math-emu headers

Liu Yu Yu.Liu at freescale.com
Thu Mar 6 14:05:44 EST 2008


> 
> On Wed, 2008-03-05 at 17:02 +0800, Liu Yu wrote:
> > Use common headers as a replacement.
> > The Common headers are located in "include/math-emu/", they 
> are used 
> > by multiple platforms such as s390, sparc, alpha.
> > 
> > As the common headers have more developers, they are more 
> popular and 
> > more stable.
> > 
> > In fact, PowerPC old math-emu headers cannot handle float point 
> > exceptions exactly while the common headers can.
> 
> That sounds like an excellent idea. However, were you able to 
> run some kind of test suite to verify that the emulation 
> works properly ?
> 

Not yet, for I don't have the right environment. :-(

We have a patch to handle MPC85xx SPE.
The patch is not yet a part of kernel and used to adopt PowerPC math-emu
headers 
like current math-emu for PowerPC FP does. 

When we ran TestFloat which is a famous FP test suite to test the SPE
patch,
it reported numerous errors and most of them concerned wrong FP
exception flags.
After we change the SPE patch to the common math-emu headers, the result
of TestFloat are splendid.

So I think the same change should be done on current PowerPC FP
math-emu.



More information about the Linuxppc-dev mailing list