qemu/target-ppc op_helper.c
Quoted 4 lines
CVSROOT: /sources/qemu Module name: qemu Changes by: Jocelyn Mayer <j_mayer> 07/10/27 17:59:46
Quoted 8 lines
Modified files:
target-ppc :op_helper.cLog 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=qemu&r1=1.55&r2=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
Signature · 4 lines
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [email protected] | [email protected] `- people.debian.org/~aurel32 | www.aurel32.net
Quoted 14 lines · Aurelien Jarno
Quoted 4 lines
CVSROOT: /sources/qemu Module name: qemu Changes by: Jocelyn Mayer <j_mayer> 07/10/27 17:59:46Quoted 8 lines
Modified files:
target-ppc :op_helper.cLog 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=qemu&r1=1.55&r2=1.56
Quoted 6 lines
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 ...
Signature · 2 lines
J. Mayer <[email protected]> Never organized
Quoted 21 lines · J. Mayer
Quoted 19 lines · Aurelien Jarno
Quoted 4 lines
CVSROOT: /sources/qemu Module name: qemu Changes by: Jocelyn Mayer <j_mayer> 07/10/27 17:59:46Quoted 8 lines
Modified files:
target-ppc :op_helper.cLog 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=qemu&r1=1.55&r2=1.56I 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.
Quoted 8 lines
Quoted 1 line
I am using qemu-system-ppc -M prep -cpu G3
Thanks for the report !
Could you please try replacing the0x3FFmask with0x7FF? 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!
Signature · 4 lines
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [email protected] | [email protected] `- people.debian.org/~aurel32 | www.aurel32.net
Quoted 24 lines · Aurelien Jarno
Quoted 23 lines · J. Mayer
Quoted 20 lines · Aurelien Jarno
Quoted 4 lines
CVSROOT: /sources/qemu Module name: qemu Changes by: Jocelyn Mayer <j_mayer> 07/10/27 17:59:46Quoted 8 lines
Modified files:
target-ppc :op_helper.cLog 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=qemu&r1=1.55&r2=1.56I 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
Quoted 8 lines
Quoted 6 lines
Thanks for the report !
Could you please try replacing the0x3FFmask with0x7FF? 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 !
Quoted 1 line
Signature · 2 lines
J. Mayer <[email protected]> Never organized