qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 3/5] target/mips: Make check_cp0_enabled() return a boolean


From: Richard Henderson
Subject: Re: [PATCH 3/5] target/mips: Make check_cp0_enabled() return a boolean
Date: Tue, 20 Apr 2021 18:35:59 -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:
To avoid callers to emit dead code if check_cp0_enabled()
raise an exception, let it return a boolean value, whether
CP0 is enabled or not.

Suggested-by: Richard Henderson<richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé<f4bug@amsat.org>
---
  target/mips/translate.h | 7 ++++++-
  target/mips/translate.c | 4 +++-
  2 files changed, 9 insertions(+), 2 deletions(-)

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

r~



reply via email to

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