Re: [Qemu-devel] TCG and branches

2016-08-05 Thread Richard Henderson
On 07/31/2016 05:23 AM, Benjamin Herrenschmidt wrote: The first obvious thing that comes to mind is to avoid stopping the TB on a non-taken conditional branch. The reason that can't be done today, from my limited understanding of things, is because we only support index 0 and 1 today for gen_goto

[Qemu-devel] TCG and branches

2016-07-30 Thread Benjamin Herrenschmidt
Hi Richard ! So in my discovery of TCG, one thing I noticed is the horrendous amount of code generated for branches, especially conditional ones. I have a patch at least to remove a bunch of dead gunk on target-ppc for non-conditional ones (we still generated the "else" of the condition even when