On 4/21/21 11:50 AM, Philippe Mathieu-Daudé wrote:
Per the nanoMIPS32 Instruction Set Technical Reference Manual,
Revision 01.01, Chapter 3. "Instruction Definitions":

The Read/Write Previous GPR opcodes "require CP0 privilege".

Add the missing CP0 checks.

Signed-off-by: Philippe Mathieu-Daudé<f4...@amsat.org>
---
  target/mips/translate.c | 2 ++
  1 file changed, 2 insertions(+)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to