qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 3/3] target/openrisc: Setup FPU for detecting tininess bef


From: Richard Henderson
Subject: Re: [PATCH v2 3/3] target/openrisc: Setup FPU for detecting tininess before rounding
Date: Wed, 10 May 2023 17:16:20 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

On 5/10/23 16:32, Stafford Horne wrote:
OpenRISC defines tininess to be detected before rounding.  Setup qemu to
obey this.

Signed-off-by: Stafford Horne <shorne@gmail.com>
---
Since v1:
  - Remove setting default NaN behavior.  I discussed with the FPU developers 
and
    they mentioned the OpenRISC hardware should be IEEE compliant when handling
    and forwarding NaN payloads, and they don't want try change this.

There is no such thing as IEEE compliant for NaN payloads.
All of that is implementation defined.
All OpenRISC needs to do is document its intentions (and then double-check that fpu/softfloat-specialize.c.inc does what is documented).


Anyway, back to this patch,
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

:-)


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]