On 9/12/22 00:04, Paolo Bonzini wrote:
+ tcg_gen_qemu_ld_i64(s->tmp1_i64, s->A0, s->mem_index, MO_64);
I just noticed this here, but please examine any other direct loads: you've forgotten the endian specification: MO_64 | MO_LE, or MO_LEUQ for short.
r~