qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 2/5] target/mips: Replace GET_LMASK() macro by get_lmask(32)


From: Richard Henderson
Subject: Re: [PATCH 2/5] target/mips: Replace GET_LMASK() macro by get_lmask(32) function
Date: Wed, 18 Aug 2021 07:09:41 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

On 8/18/21 6:43 AM, Philippe Mathieu-Daudé wrote:
-    if (GET_LMASK(arg2) <= 2) {
+    if (get_lmask(env, arg2, 32) <= 2) {

Whatever you decide to do with respect to the previous patch, the result of get_lmask is constant across the function and should be computed only once.


r~



reply via email to

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