aboutsummaryrefslogtreecommitdiff
path: root/target/riscv/translate.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-01-15 06:06:57 -1000
committerAlistair Francis <alistair.francis@wdc.com>2023-01-20 10:14:14 +1000
commitf251c01a623e0c998a2127f8648d4d02cd04e702 (patch)
tree41286cae7d1169ba300ef314a3f04bf1ca402647 /target/riscv/translate.c
parent3ceeb19a53e51c0c6310d760d26dca08145797c5 (diff)
downloadqemu-f251c01a623e0c998a2127f8648d4d02cd04e702.zip
qemu-f251c01a623e0c998a2127f8648d4d02cd04e702.tar.gz
qemu-f251c01a623e0c998a2127f8648d4d02cd04e702.tar.bz2
target/riscv: Remove helper_set_rod_rounding_mode
The only setting of RISCV_FRM_ROD is from the vector unit, and now handled by helper_set_rounding_mode_chkfrm. This helper is now unused. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-Id: <20230115160657.3169274-3-richard.henderson@linaro.org> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'target/riscv/translate.c')
-rw-r--r--target/riscv/translate.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/target/riscv/translate.c b/target/riscv/translate.c
index 493c381..01cc30a 100644
--- a/target/riscv/translate.c
+++ b/target/riscv/translate.c
@@ -672,10 +672,6 @@ static void gen_set_rm(DisasContext *ctx, int rm)
}
ctx->frm = rm;
- if (rm == RISCV_FRM_ROD) {
- gen_helper_set_rod_rounding_mode(cpu_env);
- return;
- }
if (rm == RISCV_FRM_DYN) {
/* The helper will return only if frm valid. */
ctx->frm_valid = true;