|
From: | Richard Henderson |
Subject: | Re: [PATCH] target/loongarch: Fix macros SET_FPU_* in cpu.h |
Date: | Fri, 5 Aug 2022 08:19:40 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
On 8/4/22 06:24, Qi Hu wrote:
The macros SET_FPU_* are used to set corresponding bits of fcsr. Unfortunately it forgets to set the result and it causes fcsr's "CAUSE" never being updated. This patch is to fix this bug. Signed-off-by: Qi Hu <huqi@loongson.cn> --- target/loongarch/cpu.h | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-)
Thanks, queued. r~
[Prev in Thread] | Current Thread | [Next in Thread] |