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 >>[...] >>--

[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.

[Qemu-devel] [PATCH]fix ambiguity in "-d op_opt"

2011-04-25 Thread qemu_wanghuang
In Ful-system emulation, when we use "-d op_opt",we can not find the pc of guestinstruction in logfile.However,we can get this in log by using command "-d op". It is funny that when we use "-d op,op_opt",we get pc in both op's log and op_opt's log.It makes the command "-d op_opt" ambiguous. w