Implement Hauser misa.C misalignment proposal (#187)
authorAndrew Waterman <aswaterman@gmail.com>
Thu, 22 Mar 2018 00:19:16 +0000 (17:19 -0700)
committerGitHub <noreply@github.com>
Thu, 22 Mar 2018 00:19:16 +0000 (17:19 -0700)
commit1da69b975beeda193d5fa47950be5883ca20ad13
tree520abe609d8e2401afc140910bb2b417b8a415c5
parentec79312862ebdd597cc0f63e002e14f31c36deb0
Implement Hauser misa.C misalignment proposal (#187)

See https://github.com/riscv/riscv-isa-manual/commit/0472bcdd166f45712492829a250e228bb45fa5e7

- Reads of xEPC[1] are masked when RVC is disabled
- Writes to MISA are suppressed if they would cause a misaligned fetch
- Misaligned PCs no longer need to be checked upon fetch
riscv/decode.h
riscv/execute.cc
riscv/processor.cc
riscv/processor.h