On 09/26/2013 05:48 PM, Alexander Graf wrote:
> + if (is_32bit) {
> + if (is_signed) {
> + tcg_gen_ext32s_i64(cpu_reg(rd), cpu_reg(rd));
> + } else {
> + tcg_gen_ext32u_i64(cpu_reg(rd), cpu_reg(rd));
> + }
> + }Incorrect. Result is always zero-extended. r~
