Some bugfixes for CSR reading and setting FS for fflags updates (#43)
authorAndy Wright <acwright@mit.edu>
Sat, 21 May 2016 20:39:21 +0000 (16:39 -0400)
committerAndrew Waterman <waterman@eecs.berkeley.edu>
Sat, 21 May 2016 20:39:21 +0000 (13:39 -0700)
commit8981e571623dba178d3aac147696772c8f9050bd
tree85117e7fcafc14eb305fd94678b5f57fe8dcba0f
parent07d2edff33bb0acf87305a6c54c0fcc5522c81e4
Some bugfixes for CSR reading and setting FS for fflags updates (#43)

* csrrc[i] and csrrs[i] don't write CSRs if rs/zimm == 0

* Dirty fp state when setting new fp exceptions

* Set FS to dirty for all non-zero fflags writes.
riscv/decode.h
riscv/insns/csrrc.h
riscv/insns/csrrci.h
riscv/insns/csrrs.h
riscv/insns/csrrsi.h