Received: from eggs.gnu.org ([2001:4830:134:3::10]:58959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9q6C-0004pw-L6 for qemu-devel@nongnu.org; Thu, 15 Aug 2013 01:28:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V9q64-0003Ll-11 for qemu-devel@nongnu.org; Thu, 15 Aug 2013 01:27:52 -0400 Received: from mail-pa0-x235.google.com ([2607:f8b0:400e:c03::235]:33039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9q63-0003LQ-RG for qemu-devel@nongnu.org; Thu, 15 Aug 2013 01:27:43 -0400 Received: by mail-pa0-f53.google.com with SMTP id lb1so409565pab.26 for ; Wed, 14 Aug 2013 22:27:42 -0700 (PDT) From: Khem Raj Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Wed, 14 Aug 2013 22:27:42 -0700 Message-Id: <57BF2E07-E5DC-43B5-A133-548F9BDE4E4D@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: [Qemu-devel] [PATCH v2 10/10] target-ppc: add support for extended mtfsf/mtfsfi forms List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: aurelien@aurel32.net, qemu-devel@nongnu.org Cc: "" Hi I am seeing a regression with 1.5.0 release where the following program #include #include int main(int argc, char * argv[]) { double f =3D 1234.67; printf("floor(%f) =3D %f\n", f, floor(f)); return 0; =20 } when compiled without any -O options which means it calls the glitch's = floor() function which uses mtfsfi results in floor(1234.670000) =3D 1235.000000 where as expected result is floor(1234.670000) =3D 1234.000000 Git bisect suggests indicates this patch where it started to regress The machine emulated is mac99 which is pre ISA 2.05 Same program (statically linked) seems to work fine on real hardware, = therefore it seems to me that its a Qemu problem Let me know if you need more information. Thanks -Khem