On 8/10/23 09:58, Peter Maydell wrote:
On Thu, 10 Aug 2023 at 17:55, Richard Henderson
<richard.hender...@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~


Reply via email to