Fix a bug caused by moving misa into state_t. (#180)
authorPrashanth Mundkur <prashanth.mundkur@gmail.com>
Wed, 14 Mar 2018 16:48:11 +0000 (09:48 -0700)
committerAndrew Waterman <aswaterman@gmail.com>
Wed, 14 Mar 2018 16:48:11 +0000 (11:48 -0500)
* Fix misa losing its value in processor constructor due to state:reset() following state.misa initialization.
Make state:reset() preserve misa.

* Set state.misa to max_isa on reset().

* Idiomatic fix for earlier commit.


No differences found