|
From: | LIU Zhiwei |
Subject: | Re: [PATCH 1/1] tcg/tcg-op: nonatomic_op should work with smaller memop |
Date: | Thu, 2 Jul 2020 07:44:08 +0800 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 2020/7/2 0:25, Richard Henderson wrote:
On 7/1/20 8:21 AM, LIU Zhiwei wrote:- tcg_gen_qemu_ld_i32(t1, addr, idx, memop & ~MO_SIGN); + tcg_gen_qemu_ld_i32(t1, addr, idx, memop); + tcg_gen_ext_i32(val, val, memop); gen(t2, t1, val);I was just about to post a simiar patch. The difference with mine is that I do not modify val: - gen(t2, t1, val); + tcg_gen_ext_i32(t2, val, memop); + gen(t2, t1, t2);
I see. So just ignore this patch.:-) Zhiwei
r~
[Prev in Thread] | Current Thread | [Next in Thread] |