Re: [Qemu-devel] [PATCH] trivial:Loop invariant eode motion in tcg/optimize.c

2011-11-28 Thread qemu_wanghuang
Thank you very much.It's my fault. At 2011-11-28 16:16:57,"Peter Maydell" wrote: >2011/11/28 qemu_wanghuang : >>--=_Part_169458_1849861657.1322451109855 >>Content-Type: text/plain; charset=GBK >>Content-Transfer-Encoding: 7bit >>[...] >>--=_Part_169458_1849861657.1322451109855 >>Content-Ty

Re: [Qemu-devel] [PATCH] trivial:Loop invariant eode motion in tcg/optimize.c

2011-11-28 Thread Peter Maydell
2011/11/28 qemu_wanghuang : >--=_Part_169458_1849861657.1322451109855 >Content-Type: text/plain; charset=GBK >Content-Transfer-Encoding: 7bit >[...] >--=_Part_169458_1849861657.1322451109855 >Content-Type: text/html; charset=GBK >Content-Transfer-Encoding: 7bit Please don't send patch mail

[Qemu-devel] [PATCH] trivial:Loop invariant eode motion in tcg/optimize.c

2011-11-27 Thread qemu_wanghuang
We find that the "new_base" doesn't change during in the following loop, so we can outer this judgement from this loop. Signed-off-by: Wanghuang diff --git a/qemu/tcg/optimize.c b/qemu-local/tcg/optimize.c index 9c65474..27164f0 100644 --- a/qemu/tcg/optimize.c +++ b/qemu-local/tcg/optimize.