|
From: | Richard Henderson |
Subject: | Re: [PATCH] target/rx: Correctly set Error Summary bit in set_fpsw() helper |
Date: | Wed, 15 Dec 2021 09:21:23 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 |
On 12/15/21 4:43 AM, Philippe Mathieu-Daudé wrote:
FIELD_DP32() does not update its first argument, so the Floating-Point Error Summary Flag (FS, summary of FV/FO/FZ/FU bits) is never updated to the Floating-Point Status Word (FPSW). Fix by assigning FIELD_DP32() returned value to env->fpsw. Fixes: 075d047e2bd ("target/rx: TCG helpers") Reported-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |