From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f6Byl-0005pb-8S for qemu-devel@nongnu.org; Wed, 11 Apr 2018 05:23:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f6Byi-0003Sr-5M for qemu-devel@nongnu.org; Wed, 11 Apr 2018 05:23:47 -0400 Received: from mail.uni-paderborn.de ([131.234.142.9]:45344) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f6Byh-0003SJ-No for qemu-devel@nongnu.org; Wed, 11 Apr 2018 05:23:44 -0400 References: <152215564388.18893.1601223531883570946.malonedeb@chaenomeles.canonical.com> <152339082825.12513.17266713653673903879.malone@wampee.canonical.com> From: Bastian Koppelmann Message-ID: <924dbc89-fb1c-720d-9091-a5f5c16df4b9@mail.uni-paderborn.de> Date: Wed, 11 Apr 2018 11:23:42 +0200 MIME-Version: 1.0 In-Reply-To: <152339082825.12513.17266713653673903879.malone@wampee.canonical.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [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: Bug 1759264 <1759264@bugs.launchpad.net>, qemu-devel@nongnu.org On 04/10/2018 10:07 PM, Alex Bennée wrote: > Yeah it looks like it was missed, the round_to_uint code does it. > > Do you have a test case I can verify? > For the NaN input 0xffffffff the expected result for the flags is that flag_invalid is raised. I can provide you with some TriCore asm, but it is a bit of pain to get the gnu assembler to build, since the public version is a decade old. Cheers, Bastian