qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] gen_op* function definitions
@ 2008-01-04 20:42 Ryan W Smith
  2008-01-04 20:55 ` Blue Swirl
  0 siblings, 1 reply; 2+ messages in thread
From: Ryan W Smith @ 2008-01-04 20:42 UTC (permalink / raw)
  To: qemu-devel

I'm trying to figure out how the translation blocks are generated and  
I'm having a bit of difficulty.  I'm trying to find and modify a  
particular instruction rep ins*, which I've found and it looks like  
it's being broken down into simpler instructions in the translation  
process.  I've followed it all the way down to the most basic  
instructions, the first of which is gen_op_movl_A0_reg[EDI](), which  
translates to gen_op_movl_A0_EDI().  This is where I'm stuck, I can't  
find the definition for this function, or any of the gen_op*  
instructions for that matter anywhere in the qemu source.  I must be  
missing something, can someone point me in the right direction to  
find the definitions for the gen_op* functions.

Thanks,
Ryan

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] gen_op* function definitions
  2008-01-04 20:42 [Qemu-devel] gen_op* function definitions Ryan W Smith
@ 2008-01-04 20:55 ` Blue Swirl
  0 siblings, 0 replies; 2+ messages in thread
From: Blue Swirl @ 2008-01-04 20:55 UTC (permalink / raw)
  To: qemu-devel

On 1/4/08, Ryan W Smith <ryanwsmith@gmail.com> wrote:
> I'm trying to figure out how the translation blocks are generated and
> I'm having a bit of difficulty.  I'm trying to find and modify a
> particular instruction rep ins*, which I've found and it looks like
> it's being broken down into simpler instructions in the translation
> process.  I've followed it all the way down to the most basic
> instructions, the first of which is gen_op_movl_A0_reg[EDI](), which
> translates to gen_op_movl_A0_EDI().  This is where I'm stuck, I can't
> find the definition for this function, or any of the gen_op*
> instructions for that matter anywhere in the qemu source.  I must be
> missing something, can someone point me in the right direction to
> find the definitions for the gen_op* functions.

op.c is compiled and the resulting object file op.o is processed by
dyngen program, producing gen-op.h, opc.h, and op.h. These define the
gen_op* versions of the functions, originally op_something in op.c.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-04 20:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-04 20:42 [Qemu-devel] gen_op* function definitions Ryan W Smith
2008-01-04 20:55 ` Blue Swirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).