qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 0/5] tcg conditional set, round 4


From: Paul Brook
Subject: Re: [Qemu-devel] [PATCH 0/5] tcg conditional set, round 4
Date: Sun, 20 Dec 2009 22:57:22 +0000
User-agent: KMail/1.12.4 (Linux/2.6.32-trunk-amd64; KDE/4.3.4; x86_64; ; )

On Saturday 19 December 2009, Richard Henderson wrote:
> Changes from round 3:
> 
>  * Drop movcond for now.
>  * Only use movzbl and not xor in setcond.

I'm still catching up on mail backlog from this thread, but I'm concerned that 
we're exposing setcond to the target translation code if we're planning on 
implementing movcond later.  My guess is that in a lot of cases we want a 
value other than 1, and I'd prefer to avoid proliferation of set+shift/mask 
sequences if we're going to get movcond anyway.

I don't suppose you've tried something along the lines of
  #define tcg_gen_movcond_i32(cond...) gen_helper_mov##cond(...)
And see how that compares in practice?

Paul




reply via email to

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