target/mips: Prevent switching mode related to Config3 ISA bit for nanoMIPS
authorStefan Markovic <smarkovic@wavecomp.com>
Mon, 20 Aug 2018 10:00:27 +0000 (12:00 +0200)
committerAleksandar Markovic <amarkovic@wavecomp.com>
Fri, 24 Aug 2018 15:51:59 +0000 (17:51 +0200)
commit0bbc0396809f6caaaf96863dafe738e94f9b73ea
treeb4da29e5768a51cbd850b14865f294447dd683e0
parentb3979b6fc3faf286968a239d09c7adf36d0fade6
target/mips: Prevent switching mode related to Config3 ISA bit for nanoMIPS

Only if Config3.ISA is 3 (microMIPS), the mode should be switched in
cpu_state_reset(). Config3.ISA is 1 for nanoMIPS processors, and no mode
change should happen.

Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
target/mips/translate.c