Re: [Qemu-devel] A question about qemu 0.9.1

2011-04-04 Thread Peter Maydell
2011/4/4 y y : > I am learning qemu 0.9.1 The obvious question here is "why are you looking at 0.9.1?"; it is now extremely old... In particular it predates the switch to TCG so anything you learn about the codegen process is likely to be irrelevant to newer versions. -- PMM

Re: [Qemu-devel] A question about qemu 0.9.1

2011-04-04 Thread Brad Hards
On Mon, 4 Apr 2011 08:10:55 pm y y wrote: > op_movl_A0_EAX() come from? I think its a pre-processor generated thing. So to find it, I think you need to find the parts (like INDEX_op in one pre- processor command, and the rest in another place), and how it is pasted together. HTH. Brad

[Qemu-devel] A question about qemu 0.9.1

2011-04-04 Thread y y
I am learning qemu 0.9.1,and there is a question.After I complied the project,there are some codes in "/i386-softmmu/op.h" case INDEX_op_movl_A0_EAX: { extern void op_movl_A0_EAX(); memcpy(gen_code_ptr, (void *)((char *)&op_movl_A0_EAX+0), 3); gen_code_ptr += 3; } Where is this op_movl_A0_EAX() c