[Qemu-devel] qemu/target-ppc op_helper.c

2008-03-13 Thread Aurelien Jarno
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Aurelien Jarno aurel3208/03/13 19:20:00

Modified files:
target-ppc : op_helper.c 

Log message:
Math functions helper for CONFIG_SOFTFLOAT=yes

The patch below adds isfinite() and isnormal() functions which can
work with float64 type, used when CONFIG_SOFTFLOAT=yes.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.c?cvsroot=qemur1=1.75r2=1.76




[Qemu-devel] qemu/target-ppc op_helper.c

2008-03-09 Thread Aurelien Jarno
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Aurelien Jarno aurel3208/03/10 00:09:28

Modified files:
target-ppc : op_helper.c 

Log message:
mtfsf: fix FPSCR_VX and FPSCR_FEX computation

The patch below fixes the computation of FPSCR_VX and FPSCR_FEX when
using the mtfsf instruction. As stated in the PowerPC manual the mtfsf
instruction can't alter those bit, and thus it should always be
computed.

Acked by Jocelyn Mayer.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.c?cvsroot=qemur1=1.73r2=1.74




Re: [Qemu-devel] qemu/target-ppc op_helper.c

2007-10-29 Thread Aurelien Jarno
 CVSROOT:/sources/qemu
 Module name:qemu
 Changes by: Jocelyn Mayer j_mayer 07/10/27 17:59:46
 
 Modified files:
target-ppc : op_helper.c 
 
 Log message:
 PowerPC float bugfix: 64 bits float mantissa is 52 bits long.
 
 CVSWeb URLs:
 http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.c?cvsroot=qemur1=1.55r2=1.56


I know that it looks strange, but this commit breaks perl. The function 
mkdir(dir, mode) sometimes does not set the mode correctly. This can be
easily reproduce on Debian by using dpkg-source -x file.dsc, which
fails due to wrong permission.

I am using qemu-system-ppc -M prep -cpu G3

-- 
  .''`.  Aurelien Jarno | GPG: 1024D/F1BCDB73
 : :' :  Debian developer   | Electrical Engineer
 `. `'   [EMAIL PROTECTED] | [EMAIL PROTECTED]
   `-people.debian.org/~aurel32 | www.aurel32.net




Re: [Qemu-devel] qemu/target-ppc op_helper.c

2007-10-29 Thread J. Mayer

On Mon, 2007-10-29 at 22:12 +0100, Aurelien Jarno wrote:
  CVSROOT:/sources/qemu
  Module name:qemu
  Changes by: Jocelyn Mayer j_mayer 07/10/27 17:59:46
  
  Modified files:
 target-ppc : op_helper.c 
  
  Log message:
  PowerPC float bugfix: 64 bits float mantissa is 52 bits long.
  
  CVSWeb URLs:
  http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.c?cvsroot=qemur1=1.55r2=1.56
 
 
 I know that it looks strange, but this commit breaks perl. The function 
 mkdir(dir, mode) sometimes does not set the mode correctly. This can be
 easily reproduce on Debian by using dpkg-source -x file.dsc, which
 fails due to wrong permission.
 
 I am using qemu-system-ppc -M prep -cpu G3

Thanks for the report !
Could you please try replacing the 0x3FF mask with 0x7FF ? As the
exponent is supposed to be 11 bits, my patch is obviously still buggy...
I noticed there was a bug somewhere, but was not convinced it was in the
FPU emulation... Now ...

-- 
J. Mayer [EMAIL PROTECTED]
Never organized





[Qemu-devel] qemu/target-ppc op_helper.c

2007-10-29 Thread Jocelyn Mayer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Jocelyn Mayer j_mayer 07/10/29 21:54:35

Modified files:
target-ppc : op_helper.c 

Log message:
Fix two PowerPC FPU emulation bugs (thanks to Aurelien Jarno)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.c?cvsroot=qemur1=1.60r2=1.61




Re: [Qemu-devel] qemu/target-ppc op_helper.c

2007-10-29 Thread J. Mayer

On Mon, 2007-10-29 at 22:33 +0100, Aurelien Jarno wrote:
 On Mon, Oct 29, 2007 at 10:21:26PM +0100, J. Mayer wrote:
  
  On Mon, 2007-10-29 at 22:12 +0100, Aurelien Jarno wrote:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Jocelyn Mayer j_mayer 07/10/27 17:59:46

Modified files:
   target-ppc : op_helper.c 

Log message:
PowerPC float bugfix: 64 bits float mantissa is 52 bits long.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.c?cvsroot=qemur1=1.55r2=1.56
   
   
   I know that it looks strange, but this commit breaks perl. The function 
   mkdir(dir, mode) sometimes does not set the mode correctly. This can be
   easily reproduce on Debian by using dpkg-source -x file.dsc, which
   fails due to wrong permission.
   
   I am using qemu-system-ppc -M prep -cpu G3
  
  Thanks for the report !
  Could you please try replacing the 0x3FF mask with 0x7FF ? As the
  exponent is supposed to be 11 bits, my patch is obviously still buggy...
  I noticed there was a bug somewhere, but was not convinced it was in the
  FPU emulation... Now ...
  
 
 Yep that fixes the problem. Thanks a lot!

Great ! Thanks for your help !
I'll commit it in a minute !

 
-- 
J. Mayer [EMAIL PROTECTED]
Never organized





Re: [Qemu-devel] qemu/target-ppc op_helper.c

2007-10-29 Thread Aurelien Jarno
On Mon, Oct 29, 2007 at 10:21:26PM +0100, J. Mayer wrote:
 
 On Mon, 2007-10-29 at 22:12 +0100, Aurelien Jarno wrote:
   CVSROOT:/sources/qemu
   Module name:qemu
   Changes by: Jocelyn Mayer j_mayer 07/10/27 17:59:46
   
   Modified files:
  target-ppc : op_helper.c 
   
   Log message:
   PowerPC float bugfix: 64 bits float mantissa is 52 bits long.
   
   CVSWeb URLs:
   http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.c?cvsroot=qemur1=1.55r2=1.56
  
  
  I know that it looks strange, but this commit breaks perl. The function 
  mkdir(dir, mode) sometimes does not set the mode correctly. This can be
  easily reproduce on Debian by using dpkg-source -x file.dsc, which
  fails due to wrong permission.
  
  I am using qemu-system-ppc -M prep -cpu G3
 
 Thanks for the report !
 Could you please try replacing the 0x3FF mask with 0x7FF ? As the
 exponent is supposed to be 11 bits, my patch is obviously still buggy...
 I noticed there was a bug somewhere, but was not convinced it was in the
 FPU emulation... Now ...
 

Yep that fixes the problem. Thanks a lot!

-- 
  .''`.  Aurelien Jarno | GPG: 1024D/F1BCDB73
 : :' :  Debian developer   | Electrical Engineer
 `. `'   [EMAIL PROTECTED] | [EMAIL PROTECTED]
   `-people.debian.org/~aurel32 | www.aurel32.net




[Qemu-devel] qemu/target-ppc op_helper.c

2007-10-27 Thread Jocelyn Mayer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Jocelyn Mayer j_mayer 07/10/27 17:59:46

Modified files:
target-ppc : op_helper.c 

Log message:
PowerPC float bugfix: 64 bits float mantissa is 52 bits long.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.c?cvsroot=qemur1=1.55r2=1.56




[Qemu-devel] qemu/target-ppc op_helper.c

2007-10-27 Thread Jocelyn Mayer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Jocelyn Mayer j_mayer 07/10/27 23:34:30

Modified files:
target-ppc : op_helper.c 

Log message:
PowerPC floating-point helper typo.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.c?cvsroot=qemur1=1.56r2=1.57




[Qemu-devel] qemu/target-ppc op_helper.c

2007-10-25 Thread Jocelyn Mayer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Jocelyn Mayer j_mayer 07/10/25 23:36:08

Modified files:
target-ppc : op_helper.c 

Log message:
Fix PowerPC 64x64 bits multiplication overflow check.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.c?cvsroot=qemur1=1.53r2=1.54




[Qemu-devel] qemu/target-ppc op_helper.c

2007-04-24 Thread Jocelyn Mayer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Jocelyn Mayer j_mayer 07/04/24 07:36:03

Modified files:
target-ppc : op_helper.c 

Log message:
Debug traces fixes.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.c?cvsroot=qemur1=1.31r2=1.32




[Qemu-devel] qemu/target-ppc op_helper.c

2006-04-23 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Branch: 
Changes by: Fabrice Bellard [EMAIL PROTECTED] 06/04/23 18:17:56

Modified files:
target-ppc : op_helper.c 

Log message:
removed unnecessary header

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/qemu/target-ppc/op_helper.c.diff?tr1=1.16tr2=1.17r1=textr2=text


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel