[patch][0/5] powerpc V2 : Add support to fully comply with IEEE-754 standard

Kumar Gala galak at kernel.crashing.org
Thu Feb 8 18:15:14 EST 2007


On Feb 8, 2007, at 1:06 AM, Zhu Ebony-r57400 wrote:

>
>
>> -----Original Message-----
>> From: Kumar Gala [mailto:galak at kernel.crashing.org]
>> Sent: Thursday, February 08, 2007 1:19 PM
>> To: Zhu Ebony-r57400
>> Cc: paulus at samba.org; linuxppc-dev at ozlabs.org
>> Subject: Re: [patch][0/5] powerpc V2 : Add support to fully
>> comply with IEEE-754 standard
>>
>>
>> On Feb 7, 2007, at 9:50 PM, Zhu Ebony-r57400 wrote:
>>
>>> Hi Paul,
>>>
>>> These are the re-sent patches to add support to fully comply with
>>> IEEE-754 standard for E500/E500v2 core when hardware floating point
>>> compiling is used. Comparison with last patches I've submitted, the
>>> following points was changed:
>>>
>>> 1. Add a rounding exception handler, to handle the exceptions that
>>> would occur when rounding towards +Inf/-Inf
>>>
>>> 2. Using the existing exception entering/returning routine, and get
>>> the exception instructions from regs->nip instead of
>> reading from SRR0
>>>
>>> Thank you all for the comments you gave to me!
>>
>> Did you end up getting testfloat running?  I'd like to see
>> some testing results before accepting these patches.  I think
>> testfloat is our best bet at this point.
>>
> Hi Kumar,
>
> I looked into the testfloat suit, and found all the instructions it
> tests (more than 50)should be
> implemented based on ASM.

Don't follow?  Can't you build it with the e500 compiler?

> And also the SoftFloat test suite, which the
> Testfloat is comparing against, should be ported to powerpc  
> platform. I
> think these work needs some time do finish. So could you review my
> patches and
> give some comments first? Thank you.

Will do.  Just be aware we need to get testfloat running before this  
will make it in mainline.

- k



More information about the Linuxppc-dev mailing list