qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] opc.h and gen-op.h


From: Jim C. Brown
Subject: Re: [Qemu-devel] opc.h and gen-op.h
Date: Sat, 5 Nov 2005 09:48:40 -0500
User-agent: Mutt/1.4.2.1i

I don't know the exact purpose, but they are part of the code that forms the
intermediate language qemu uses when it performs dynamic translating.

On Sat, Nov 05, 2005 at 02:01:13PM +0100, address@hidden wrote:
> Hello!
> 
> What is the job of the two files gen-op.h and opc.h? They were created by
> dyngen -c / -g 
> 
> I don't understand their content.
> 
> opc.h contains something like:
> DEF(movl_A0_EAX, 0, 3)
> DEF(addl_A0_EAX, 0, 5)
> DEF(addl_A0_EAX_s1, 0, 6)
> 
> gen-op.h contains:
> static inline void gen_op_movl_A0_EAX(void)
> {
>     *gen_opc_ptr++ = INDEX_op_movl_A0_EAX;
> }
> 
> static inline void gen_op_addl_A0_EAX(void)
> {
>     *gen_opc_ptr++ = INDEX_op_addl_A0_EAX;
> }
> 
> 
> Can you help me?
> 
> Chris
> 
> 
> 
> 
> -- 
> Highspeed-Freiheit. Bei GMX superg?nstig, z.B. GMX DSL_Cityflat,
> DSL-Flatrate f?r nur 4,99 Euro/Monat*  http://www.gmx.net/de/go/dsl
> 
> 
> _______________________________________________
> Qemu-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
> 

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]