Allow mstatus.MPP to store bad values; instead, validate on MRET
authorAndrew Waterman <waterman@cs.berkeley.edu>
Wed, 17 Aug 2016 21:00:58 +0000 (14:00 -0700)
committerAndrew Waterman <waterman@cs.berkeley.edu>
Wed, 17 Aug 2016 22:27:42 +0000 (15:27 -0700)
commit5e1d0059353a4756740df709f85c35ee86138ad6
tree5d7b128e83b1123bb8204d0136c748c1b78af327
parenteb19d1c1deabf9c8ca7d0f3958b2b6d797f100a9
Allow mstatus.MPP to store bad values; instead, validate on MRET

Either approach is legal, but this more closely matches Rocket.
riscv/insns/dret.h
riscv/processor.cc
riscv/processor.h