qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] TCG questions


From: Peter Maydell
Subject: Re: [Qemu-devel] TCG questions
Date: Tue, 11 Sep 2012 18:04:50 +0100

On 11 September 2012 17:12, Richard Henderson <address@hidden> wrote:
> On 09/10/2012 08:17 PM, Xin Tong wrote:
>> 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.

...and in any case if you've enabled debug you have explicitly
said you are more interested in catching bugs than in raw
performance.

-- PMM



reply via email to

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