Received: from eggs.gnu.org ([2001:4830:134:3::10]:52715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGVD5-0000Gj-Iw for qemu-devel@nongnu.org; Wed, 28 Jan 2015 11:11:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGVD2-0002z2-T6 for qemu-devel@nongnu.org; Wed, 28 Jan 2015 11:11:19 -0500 Received: from mail-pa0-x231.google.com ([2607:f8b0:400e:c03::231]:48102) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGVD2-0002yo-MP for qemu-devel@nongnu.org; Wed, 28 Jan 2015 11:11:16 -0500 Received: by mail-pa0-f49.google.com with SMTP id fa1so26883564pad.8 for ; Wed, 28 Jan 2015 08:11:16 -0800 (PST) Content-Type: multipart/alternative; boundary="Apple-Mail=_801D42E8-BCD4-4E1F-86A6-2BF44611B22B" Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.4\)) From: Xiangyu Hu In-Reply-To: Date: Thu, 29 Jan 2015 00:11:03 +0800 Message-Id: <8C45B637-07CF-4778-AD83-F0DAEF49D3C5@gmail.com> References: <1422456666-12270-1-git-send-email-libhu.so@gmail.com> <87h9va7vfh.fsf@linaro.org> Subject: Re: [Qemu-devel] [PATCH] FMULX should flushes operators to zero when FZ is set. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , =?utf-8?Q?Alex_Benn=C3=A9e?= Cc: QEMU Developers --Apple-Mail=_801D42E8-BCD4-4E1F-86A6-2BF44611B22B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 If RISU sets random FPSCR (FZ bit) values, I think such cases would be = covered; it=20 doesn=E2=80=99t look like such a corner case. Maybe I can include some focus tests on this scenario if RISU failed to = generate this pattern? Thanks - xiangyu > On 28 Jan, 2015, at 11:57 pm, Peter Maydell = wrote: >=20 > On 28 January 2015 at 15:54, Alex Benn=C3=A9e = wrote: >> Do we have test cases that trip up here? It would be nice to include >> them in our testing as the random nature of RISU has obviously failed = to >> trip up on this instruction. >=20 > Risu would probably catch this if we generated and ran test cases > which set the FPSCR bits to something other than the default. > (At least the 32-bit risugen lets you do this; I forget whether > we wired up that bit in the 64-bit support code.) >=20 > -- PMM --Apple-Mail=_801D42E8-BCD4-4E1F-86A6-2BF44611B22B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
If RISU sets random FPSCR (FZ bit) values, I = think such cases would be covered; it 
doesn=E2=80= =99t look like such a corner case.

Maybe I can include some focus tests on = this scenario if RISU failed to generate this pattern?

Thanks

- xiangyu

On = 28 Jan, 2015, at 11:57 pm, Peter Maydell <peter.maydell@linaro.org> wrote:

On 28 January 2015 = at 15:54, Alex Benn=C3=A9e <alex.bennee@linaro.org> wrote:
Do we have test cases that trip up here? It = would be nice to include
them in our testing as the random = nature of RISU has obviously failed to
trip up on this = instruction.

Risu would = probably catch this if we generated and ran test cases
which= set the FPSCR bits to something other than the default.
(At= least the 32-bit risugen lets you do this; I forget whether
we wired up that bit in the 64-bit support code.)

-- PMM

= --Apple-Mail=_801D42E8-BCD4-4E1F-86A6-2BF44611B22B--