On 09/27/2013 09:42 PM, Richard Henderson wrote: > On 09/26/2013 05:48 PM, Alexander Graf wrote: >> + if (setflags) { >> + tcg_dst = cpu_reg(dest); >> + } else { >> + tcg_dst = cpu_reg_sp(dest); >> + } > > Never sp for logicals.
This should be ok in my view, the manual explicitly shows in the pseudocode: if d == 31 && !setflags then SP[] = result; else X[d] = result; Claudio > >> + handle_orri(s, insn); > > And yet again, a better function name. > > > r~ >