From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42266) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f871x-0005mx-4S for qemu-devel@nongnu.org; Mon, 16 Apr 2018 12:31:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f871u-0000nX-Gu for qemu-devel@nongnu.org; Mon, 16 Apr 2018 12:31:01 -0400 Received: from indium.canonical.com ([91.189.90.7]:37116) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f871u-0000mu-AM for qemu-devel@nongnu.org; Mon, 16 Apr 2018 12:30:58 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1f871s-0005FE-8Z for ; Mon, 16 Apr 2018 16:30:56 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 3F2862E80CE for ; Mon, 16 Apr 2018 16:30:56 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 16 Apr 2018 16:20:28 -0000 From: Bastian Koppelmann Reply-To: Bug 1759264 <1759264@bugs.launchpad.net> Sender: bounces@canonical.com References: <152215564388.18893.1601223531883570946.malonedeb@chaenomeles.canonical.com> Message-Id: <152389562935.19798.17137711647215533060.launchpad@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1759264] Re: fpu/softfloat: round_to_int_and_pack refactor broke TriCore ftoi insns List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ** Changed in: qemu Status: New =3D> Fix Committed -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1759264 Title: fpu/softfloat: round_to_int_and_pack refactor broke TriCore ftoi insns Status in QEMU: Fix Committed Bug description: After the refactor from ab52f973a504f8de0c5df64631ba4caea70a7d9e the bahaviour of int32_to_float32() was altered. helper_ftoi() in target/tricore/fpu_helper.c relied on int32_to_float32 to raise the invalid flag if the input was NaN to properly return 0. Likewise if the input is infinity. The obvious fix for softfloat would be to raise this flag in round_to_int= _and_pack(). However, I'm not sure if this breaks other targets and I have no easy way to test = it. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1759264/+subscriptions