From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:45494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxUPD-0005YN-Vq for qemu-devel@nongnu.org; Sat, 23 Feb 2019 05:19:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gxUPC-0008Bp-Sh for qemu-devel@nongnu.org; Sat, 23 Feb 2019 05:19:39 -0500 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:36693) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gxUPC-00080C-3A for qemu-devel@nongnu.org; Sat, 23 Feb 2019 05:19:38 -0500 Received: by mail-wr1-x442.google.com with SMTP id o17so4939549wrw.3 for ; Sat, 23 Feb 2019 02:19:08 -0800 (PST) References: <20190222204500.24434-1-alex.bennee@linaro.org> <20190222204500.24434-7-alex.bennee@linaro.org> <4d4521cb-8ce9-661d-9491-e350b4a6320f@linaro.org> From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: <4d4521cb-8ce9-661d-9491-e350b4a6320f@linaro.org> Date: Sat, 23 Feb 2019 10:19:06 +0000 Message-ID: <87mummg63p.fsf@zen.linaroharston> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v1 6/6] softfloat: Support float_round_to_odd more places List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: qemu-devel@nongnu.org, qemu-s390x@nongnu.org, David Hildenbrand Richard Henderson writes: > On 2/22/19 12:45 PM, Alex Benn=C3=A9e wrote: >> @@ -3526,6 +3551,8 @@ static float32 roundAndPackFloat32(flag zSign, int= zExp, uint32_t zSig, >> case float_round_down: >> roundIncrement =3D zSign ? 0x7f : 0; >> break; >> + case float_round_to_odd: >> + roundIncrement =3D zSig & 0x80 ? 0 : 0x7f; >> default: >> abort(); > > I clearly missed a break here. > > Since this didn't kill fp-test, are we missing a float128_to_float32 > test? So I've not got -r all against all tests but adding it to make mulAdd take even longer to run so maybe I'll not bother for mulAdd. > > > r~ -- Alex Benn=C3=A9e