diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2021-06-27 20:06:04 +0800 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2021-07-15 08:56:00 +1000 |
commit | 232a2c8c85541e3b491f61b90f151f1edcdb3944 (patch) | |
tree | 62f8258188ae9904dac0769fe3ccee0353e523fa /target/s390x | |
parent | b4cb178efbafaff22558c9cad7d2e1b8f351bdc3 (diff) | |
download | qemu-232a2c8c85541e3b491f61b90f151f1edcdb3944.zip qemu-232a2c8c85541e3b491f61b90f151f1edcdb3944.tar.gz qemu-232a2c8c85541e3b491f61b90f151f1edcdb3944.tar.bz2 |
target/riscv: csr: Remove redundant check in fp csr read/write routines
The following check:
if (!env->debugger && !riscv_cpu_fp_enabled(env)) {
return -RISCV_EXCP_ILLEGAL_INST;
}
is redundant in fflags/frm/fcsr read/write routines, as the check was
already done in fs().
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210627120604.11116-1-bmeng.cn@gmail.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'target/s390x')
0 files changed, 0 insertions, 0 deletions