qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v4] Hexagon (target/hexagon) properly handle NaN in dfmin/dfm


From: Richard Henderson
Subject: Re: [PATCH v4] Hexagon (target/hexagon) properly handle NaN in dfmin/dfmax/sfmin/sfmax
Date: Tue, 8 Mar 2022 09:25:16 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 3/8/22 09:04, Taylor Simpson wrote:
The float??_minnum implementation differs from Hexagon for SNaN,
it returns NaN, but Hexagon returns the other input.  So, we use
float??_minimum_number.

Test cases added to tests/tcg/hexagon/fpstuff.c

Signed-off-by: Taylor Simpson<tsimpson@quicinc.com>
---
  target/hexagon/op_helper.c  | 14 ++-----
  tests/tcg/hexagon/fpstuff.c | 79 +++++++++++++++++++++++++++++--------
  2 files changed, 66 insertions(+), 27 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

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