[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 2/5] target/loongarch: Fix fnm{sub/add}_{s/d} set wrong flags
From: |
Song Gao |
Subject: |
[PULL 2/5] target/loongarch: Fix fnm{sub/add}_{s/d} set wrong flags |
Date: |
Mon, 17 Oct 2022 14:39:41 +0800 |
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20220930024510.800005-3-gaosong@loongson.cn>
---
target/loongarch/insn_trans/trans_farith.c.inc | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/target/loongarch/insn_trans/trans_farith.c.inc
b/target/loongarch/insn_trans/trans_farith.c.inc
index 65ad2ffab8..7bb3f41aee 100644
--- a/target/loongarch/insn_trans/trans_farith.c.inc
+++ b/target/loongarch/insn_trans/trans_farith.c.inc
@@ -97,9 +97,9 @@ TRANS(fmadd_s, gen_muladd, gen_helper_fmuladd_s, 0)
TRANS(fmadd_d, gen_muladd, gen_helper_fmuladd_d, 0)
TRANS(fmsub_s, gen_muladd, gen_helper_fmuladd_s, float_muladd_negate_c)
TRANS(fmsub_d, gen_muladd, gen_helper_fmuladd_d, float_muladd_negate_c)
-TRANS(fnmadd_s, gen_muladd, gen_helper_fmuladd_s,
- float_muladd_negate_product | float_muladd_negate_c)
-TRANS(fnmadd_d, gen_muladd, gen_helper_fmuladd_d,
- float_muladd_negate_product | float_muladd_negate_c)
-TRANS(fnmsub_s, gen_muladd, gen_helper_fmuladd_s, float_muladd_negate_product)
-TRANS(fnmsub_d, gen_muladd, gen_helper_fmuladd_d, float_muladd_negate_product)
+TRANS(fnmadd_s, gen_muladd, gen_helper_fmuladd_s, float_muladd_negate_result)
+TRANS(fnmadd_d, gen_muladd, gen_helper_fmuladd_d, float_muladd_negate_result)
+TRANS(fnmsub_s, gen_muladd, gen_helper_fmuladd_s,
+ float_muladd_negate_c | float_muladd_negate_result)
+TRANS(fnmsub_d, gen_muladd, gen_helper_fmuladd_d,
+ float_muladd_negate_c | float_muladd_negate_result)
--
2.31.1
- [PULL 0/5] loongarch-to-apply queue, Song Gao, 2022/10/17
- [PULL 1/5] target/loongarch: bstrins.w src register need EXT_NONE, Song Gao, 2022/10/17
- [PULL 3/5] softfloat: logB(0) should raise divideByZero exception, Song Gao, 2022/10/17
- [PULL 4/5] linux-user: Fix struct statfs ABI on loongarch64, Song Gao, 2022/10/17
- [PULL 2/5] target/loongarch: Fix fnm{sub/add}_{s/d} set wrong flags,
Song Gao <=
- [PULL 5/5] hw/intc: Fix LoongArch ipi device emulation, Song Gao, 2022/10/17
- Re: [PULL 0/5] loongarch-to-apply queue, Stefan Hajnoczi, 2022/10/18