On 09/11/2012 02:34 PM, Aurelien Jarno wrote: > Minor nitpick: it's better to write: > > tcg_gen_add_tl(addr, addr, dc->cpu_R[instr->a]); > > as the code generator on non-RISC hosts usually generate a slightly tiny > better code.
You know... we already swap operands for constants. It would be trivial have tcg_constant_folding swap for matching operands at the same time. r~