Thread (6 messages) 6 messages, 2 authors, 2008-03-06

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

flat view

From: Liu Yu <hidden>
Date: 2008-03-06 03:05:54

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

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help