On 06/21/2014 05:58 AM, Paolo Bonzini wrote: > @@ -855,32 +878,68 @@ static inline void gen_aa32_ld64(DisasContext *s, > TCGv_i64 val, TCGv_i32 addr, i > { > TCGMemOp opc = MO_Q | s->mo_endianness; > tcg_gen_qemu_ld_i64(val, addr, index, opc); > +#ifndef CONFIG_USER_ONLY > + /* Not needed for user-mode BE32 emulation, where we use MO_BE > + * instead. > + */ > + if (s->sctlr_b) { > + tcg_gen_rotri_i32(val, val, 32);
_i64. Would have been caught with --enable-debug-tcg. r~