|
From: | Richard Henderson |
Subject: | Re: [PATCH 12/24] tcg/aarch64: Implement negsetcond_* |
Date: | Thu, 10 Aug 2023 10:01:52 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 8/10/23 09:58, Peter Maydell wrote:
On Thu, 10 Aug 2023 at 17:55, Richard Henderson <richard.henderson@linaro.org> wrote: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.OK. Do we document somewhere what a TCGArg is?
No. I should do that... r~
[Prev in Thread] | Current Thread | [Next in Thread] |