From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f6DVQ-0005Lh-Jy for qemu-devel@nongnu.org; Wed, 11 Apr 2018 07:01:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f6DVM-0006A1-No for qemu-devel@nongnu.org; Wed, 11 Apr 2018 07:01:36 -0400 Received: from mail-wr0-x236.google.com ([2a00:1450:400c:c0c::236]:42353) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f6DVM-00069c-HU for qemu-devel@nongnu.org; Wed, 11 Apr 2018 07:01:32 -0400 Received: by mail-wr0-x236.google.com with SMTP id s18so1334479wrg.9 for ; Wed, 11 Apr 2018 04:01:32 -0700 (PDT) References: <152215564388.18893.1601223531883570946.malonedeb@chaenomeles.canonical.com> <152339082825.12513.17266713653673903879.malone@wampee.canonical.com> <924dbc89-fb1c-720d-9091-a5f5c16df4b9@mail.uni-paderborn.de> From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: <924dbc89-fb1c-720d-9091-a5f5c16df4b9@mail.uni-paderborn.de> Date: Wed, 11 Apr 2018 12:01:30 +0100 Message-ID: <87woxe3t2t.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Bastian Koppelmann Cc: Bug 1759264 <1759264@bugs.launchpad.net>, qemu-devel@nongnu.org Bastian Koppelmann writes: > On 04/10/2018 10:07 PM, Alex Benn=C3=A9e 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. I'll trust you if you send me a static binary for this particular verification ;-) It would be nice to TriCore tests building in tests/tcg/ but I guess we need an up to date cross compile environment somewhere. > > Cheers, > Bastian -- Alex Benn=C3=A9e