qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH 5/5] target/mips: Restrict EVA opcodes to system emulatio


From: Richard Henderson
Subject: Re: [RFC PATCH 5/5] target/mips: Restrict EVA opcodes to system emulation
Date: Tue, 20 Apr 2021 18:40:23 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 4/20/21 12:34 PM, Philippe Mathieu-Daudé wrote:
Enhanced Virtual Address (EVA) instructions are restricted
to Kernel execution mode, thus not available on user emulation.

Signed-off-by: Philippe Mathieu-Daudé<f4bug@amsat.org>
---
RFC because I'd rather not use such #ifdef'ry again.
TODO: have the compiler elide this code.

  target/mips/translate.c | 14 +++++++++++---
  1 file changed, 11 insertions(+), 3 deletions(-)

Yeah, I would approach this via a smaller ifdef in check_cp0_enabled first.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]