qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] TCG questions


From: Xin Tong
Subject: [Qemu-devel] TCG questions
Date: Mon, 10 Sep 2012 20:17:24 -0700

I have 2 questions about TCGv.

1.  if DEBUG is enabled on TCGv, TCGv is wrapped in a C struct. and
would it not be very expensive to pass TCGv by copy for all the
tcg_gen_xxx functions.i.e. tcg_gen_mov_tl(cpu_cc_src, cpu_T[1]);

2. I have created some files that need to include tcg-op.h and cpu.h (
i use TCGv in the files). since cpu.h are architecture specific. what
do i put as the include path and how i should organize the files so
that the correct architecture specific cpu.h gets picked up. i tried
many things. but it seems none of them works very well.

Thank you very much

Xin



reply via email to

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