qemu-ppc
[Top][All Lists]
Advanced

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

Re: [PATCH 12/24] tcg/aarch64: Implement negsetcond_*


From: Richard Henderson
Subject: Re: [PATCH 12/24] tcg/aarch64: Implement negsetcond_*
Date: Thu, 10 Aug 2023 09:55:16 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 8/10/23 09:39, Peter Maydell wrote:
+    case INDEX_op_negsetcond_i32:
+        a2 = (int32_t)a2;
+        /* FALLTHRU */

I see this is what we already do for setcond and movcond,
but how does it work when the 2nd input is a register?
Or is reg-reg guaranteed to always use the _i64 op?

For reg-reg, a2 < 31, so the sign-extend does nothing.


r~



reply via email to

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