qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] target/riscv: Disallow WFI instruction from U-mode


From: Richard Henderson
Subject: Re: [PATCH] target/riscv: Disallow WFI instruction from U-mode
Date: Thu, 23 Jan 2020 13:34:55 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

On 1/23/20 9:52 AM, Jonathan Behrens wrote:
> +    if (!(env->priv >= PRV_S) ||

For integers, !(x >= y) is a poor way to write x < y.


r~



reply via email to

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