lkml.org 
[lkml]   [2004]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BUG] PPC math-emu multiply problem
On Mon, Aug 16, 2004 at 09:02:13AM -0400, Greg Weeks wrote:

> Tom Rini wrote:
> >On Mon, Aug 09, 2004 at 01:42:08PM -0400, Dan Malek wrote:
> >>On Aug 9, 2004, at 12:56 PM, Tom Rini wrote:
> >>>Has anyone had a problem with this? If not, I'll go and pass it
> >>>along...
> >>>
> >>The default rounding mode should be whatever is defined
> >>by IEEE. I thought the emulator used the proper default value
> >>and if want something different it should be selected by
> >>the control register. Maybe the emulator isn't implementing
> >>the control register properly.
> >
> >Or we had the wrong default? Greg, any chance you've looked into this
> >more? Thanks.
> >
> I'm back.
>
> The round mode for the emulator is compiled in. Changing the round mode
> caused failures in some of the other LSB float tests. I had intended to
> say something about this before taking off on vacation. Sorry.

S'alright.

> The way I got the LSB tests to pass was to remove the round in the
> denormalised underflow case. This appears to match the hardware
> behavior. I've not looked at the PPC floating point model close enough
> to know if this is proper behavior. It is what the LSB tests are
> expecting and doesn't cause a failure in any of the other LSB tests.

Have you guys run the LSB tests on some PPC with hw floating point (is
that what you mean by 'matches the hardware behavior' ?) to see if the
test also passes there as-is? And does anyone object to this patch?
Now that 2.6.8.1 is out I'm gonna start committing in a bunch of stuff
I've had queued up and see if I can get Linus to pull. Thanks.

--
Tom Rini
http://gate.crashing.org/~trini/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:05    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site