target/riscv: update mstatus.SD when FS is set dirty
authorShihPo Hung <shihpo.hung@sifive.com>
Wed, 15 Jan 2020 06:17:33 +0000 (22:17 -0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Thu, 16 Jan 2020 18:03:15 +0000 (10:03 -0800)
commit82f014671cf057de51c4a577c9e2ad637dcec6f9
tree490d36ed18464d95688795d5335417b511fe5ca2
parenta59796eb6d59bbd74ce28ddbddb1b83e60674e96
target/riscv: update mstatus.SD when FS is set dirty

remove the check becuase SD bit should summarize FS and XS fields
unconditionally.

Signed-off-by: ShihPo Hung <shihpo.hung@sifive.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
target/riscv/csr.c
target/riscv/translate.c