On 11 September 2012 17:12, Richard Henderson <r...@twiddle.net> 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