[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] TCG questions
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] TCG questions |
Date: |
Tue, 11 Sep 2012 09:12:37 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0 |
On 09/10/2012 08:17 PM, Xin Tong wrote:
> 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]);
No. The compiler is (generally) able to look through a struct with
a single member.
> 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.
You've not provided enough details to give a meaningful answer.
r~
- [Qemu-devel] TCG questions, Xin Tong, 2012/09/10
- Re: [Qemu-devel] TCG questions,
Richard Henderson <=
- Re: [Qemu-devel] TCG questions, Peter Maydell, 2012/09/11
- Re: [Qemu-devel] TCG questions, Xin Tong, 2012/09/11
- Re: [Qemu-devel] TCG questions, Richard Henderson, 2012/09/11
- Re: [Qemu-devel] TCG questions, Wei-Ren Chen, 2012/09/11
- Re: [Qemu-devel] TCG questions, Xin Tong, 2012/09/11
- Re: [Qemu-devel] TCG questions, LluĂs Vilanova, 2012/09/12
- Re: [Qemu-devel] TCG questions, Xin Tong, 2012/09/12
- Re: [Qemu-devel] TCG questions, Xin Tong, 2012/09/12