On 9/20/21 1:04 AM, WANG Xuerui wrote:
+static void tcg_target_init(TCGContext *s) +{ + tcg_target_available_regs[TCG_TYPE_I32] = 0xffffffff; + if (TCG_TARGET_REG_BITS == 64) { + tcg_target_available_regs[TCG_TYPE_I64] = 0xffffffff; + } + + tcg_target_call_clobber_regs = -1u;
In all 3 places, use your ALL_GENERAL_REGS constant. Otherwise, Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~