RE: [PATCH] Fix rounding bug in emulation for double floatoperating

2007-12-09 Thread Liu Yu
> -Original Message- > From: David Gibson [mailto:[EMAIL PROTECTED] > Sent: Monday, December 10, 2007 12:56 PM > To: Liu Yu > Cc: linuxppc-dev@ozlabs.org > Subject: Re: [PATCH] Fix rounding bug in emulation for double > floatoperating > > > On M

Re: [PATCH] Fix rounding bug in emulation for double floatoperating

2007-12-10 Thread Kumar Gala
On Dec 9, 2007, at 11:25 PM, Liu Yu wrote: > > > > > >> -Original Message- >> From: David Gibson [mailto:[EMAIL PROTECTED] >> Sent: Monday, December 10, 2007 12:56 PM >> To: Liu Yu >> Cc: linuxppc-dev@ozlabs.org >> Subject: R

RE: [PATCH] Fix rounding bug in emulation for double floatoperating

2007-12-10 Thread Liu Yu
> -Original Message- > From: Kumar Gala [mailto:[EMAIL PROTECTED] > Sent: Monday, December 10, 2007 11:01 PM > To: Liu Yu > Cc: David Gibson; linuxppc-dev@ozlabs.org > Subject: Re: [PATCH] Fix rounding bug in emulation for double > floatoperating > > > On

Re: [PATCH] Fix rounding bug in emulation for double floatoperating

2007-12-10 Thread Zang Roy-r61911
; Cc: linuxppc-dev@ozlabs.org > >> Subject: Re: [PATCH] Fix rounding bug in emulation for double > >> floatoperating > >> > >> > >> On Mon, Dec 10, 2007 at 01:00:52PM +0800, Liu Yu wrote: > >>> > >>> This patch fixes rounding b

Re: [PATCH] Fix rounding bug in emulation for double floatoperating

2007-12-11 Thread Kumar Gala
>> >> how did you find this? >> > It supposed to run the following test case on a powerpc platform. > Yu's patch fixes the issue. > Could you help to merge this patch in your tree? > --- > #include > #include > #include > #ifdef __SPE__ > #include > int > getSPEFSCR() > { >return __builtin_

Re: [PATCH] Fix rounding bug in emulation for double floatoperating

2007-12-12 Thread Zang Roy-r61911
On Tue, 2007-12-11 at 23:26, Kumar Gala wrote: > >> > >> how did you find this? > >> > > It supposed to run the following test case on a powerpc platform. > > Yu's patch fixes the issue. > > Could you help to merge this patch in your tree? > > --- > > #include > > #include > > #include > > #ifde

Re: [PATCH] Fix rounding bug in emulation for double floatoperating

2007-12-12 Thread Kumar Gala
>> When I run this on a G5 (w/HW FP) I get: >> >> dmul 3fe0 * 1 = 0 expected 0 (PASS) >> dmul bfe0 * 1 = 8000 expected 0 (PASS) >> dmul 8001 * bfe0 = 0 expected 0 (PASS) >> >> ddiv 1 / 4000 = 0 expected 0 (PASS) >> >> and on th

Re: [PATCH] Fix rounding bug in emulation for double floatoperating

2007-12-13 Thread Kumar Gala
>> When I run this on a G5 (w/HW FP) I get: >> >> dmul 3fe0 * 1 = 0 expected 0 (PASS) >> dmul bfe0 * 1 = 8000 expected 0 (PASS) >> dmul 8001 * bfe0 = 0 expected 0 (PASS) >> >> ddiv 1 / 4000 = 0 expected 0 (PASS) >> >> and on th

Re: [PATCH] Fix rounding bug in emulation for double floatoperating

2007-12-13 Thread Zang Roy-r61911
On Fri, 2007-12-14 at 13:46, Kumar Gala wrote: > >> When I run this on a G5 (w/HW FP) I get: > >> > >> dmul 3fe0 * 1 = 0 expected 0 (PASS) > >> dmul bfe0 * 1 = 8000 expected 0 (PASS) > >> dmul 8001 * bfe0 = 0 expected 0 (PASS) > >> > >> dd

Re: [PATCH] Fix rounding bug in emulation for double floatoperating

2007-12-13 Thread Kumar Gala
On Dec 14, 2007, at 12:06 AM, Zang Roy-r61911 wrote: > On Fri, 2007-12-14 at 13:46, Kumar Gala wrote: When I run this on a G5 (w/HW FP) I get: dmul 3fe0 * 1 = 0 expected 0 (PASS) dmul bfe0 * 1 = 8000 expected 0 (PASS) dmul 8