Re: [Qemu-devel] Re: [PATCH 5/6] tcg-i386: Simplify brcond2.

2009-12-18 Thread Richard Henderson
On 12/18/2009 03:40 AM, Laurent Desnogues wrote: I'm not sure I really like that rewrite, I find it hard to read. Convince me it's better :-) Would it be more obvious if I used a table instead of a switch? The code size reduction is Num:Value Size TypeBind Vis Ndx Name befo

[Qemu-devel] Re: [PATCH 5/6] tcg-i386: Simplify brcond2.

2009-12-18 Thread Laurent Desnogues
On Thu, Dec 17, 2009 at 7:38 PM, Richard Henderson wrote: > Split out tcg_out_cond from tcg_out_brcond.  Add "small" arguments > to all branch functions for completeness.  Unify all the calls to > generate branches within brcond2 and pass on the small flag. > > Signed-off-by: Richard Henderson >