[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] target/mips: Add missing CP0 check to nanoMIPS RDPGPR / WRPG
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH] target/mips: Add missing CP0 check to nanoMIPS RDPGPR / WRPGPR opcodes |
Date: |
Tue, 27 Apr 2021 21:34:07 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
On 4/21/21 8:50 PM, 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é <f4bug@amsat.org>
> ---
> target/mips/translate.c | 2 ++
> 1 file changed, 2 insertions(+)
Thanks, applied to mips-next.