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=20are used=20quoted
by multiple platforms such as s390, sparc, alpha. =20 As the common headers have more developers, they are more=20popular and=20quoted
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.