Re: [Qemu-devel] [PATCH v2 0/9] Improve TCG optimizer

2012-09-10 Thread Richard Henderson
On Fri, 2012-09-07 at 15:16 +0200, Aurelien Jarno wrote: > Aurelien Jarno (9): > tcg: improve profiler > tcg/optimize: split expression simplification > tcg/optimize: simplify or/xor r, a, 0 cases > tcg/optimize: simplify and r, a, 0 cases > tcg/optimize: simplify shift/rot r, 0, a => mov

Re: [Qemu-devel] [PATCH v2 0/9] Improve TCG optimizer

2012-09-08 Thread Aurelien Jarno
On Sat, Sep 08, 2012 at 09:29:59AM +, Blue Swirl wrote: > On Sat, Sep 8, 2012 at 9:12 AM, Aurelien Jarno wrote: > > On Sat, Sep 08, 2012 at 09:06:52AM +, Blue Swirl wrote: > >> On Sat, Sep 8, 2012 at 9:01 AM, Aurelien Jarno > >> wrote: > >> > On Sat, Sep 08, 2012 at 08:18:50AM +, Blu

Re: [Qemu-devel] [PATCH v2 0/9] Improve TCG optimizer

2012-09-08 Thread Blue Swirl
On Sat, Sep 8, 2012 at 9:12 AM, Aurelien Jarno wrote: > On Sat, Sep 08, 2012 at 09:06:52AM +, Blue Swirl wrote: >> On Sat, Sep 8, 2012 at 9:01 AM, Aurelien Jarno wrote: >> > On Sat, Sep 08, 2012 at 08:18:50AM +, Blue Swirl wrote: >> >> On Fri, Sep 7, 2012 at 1:16 PM, Aurelien Jarno >> >

Re: [Qemu-devel] [PATCH v2 0/9] Improve TCG optimizer

2012-09-08 Thread Aurelien Jarno
On Sat, Sep 08, 2012 at 09:06:52AM +, Blue Swirl wrote: > On Sat, Sep 8, 2012 at 9:01 AM, Aurelien Jarno wrote: > > On Sat, Sep 08, 2012 at 08:18:50AM +, Blue Swirl wrote: > >> On Fri, Sep 7, 2012 at 1:16 PM, Aurelien Jarno > >> wrote: > >> > This patch series improves the TCG optimizer,

Re: [Qemu-devel] [PATCH v2 0/9] Improve TCG optimizer

2012-09-08 Thread Blue Swirl
On Sat, Sep 8, 2012 at 9:01 AM, Aurelien Jarno wrote: > On Sat, Sep 08, 2012 at 08:18:50AM +, Blue Swirl wrote: >> On Fri, Sep 7, 2012 at 1:16 PM, Aurelien Jarno wrote: >> > This patch series improves the TCG optimizer, based on patterns found >> > while executing various guest. The brcond ad

Re: [Qemu-devel] [PATCH v2 0/9] Improve TCG optimizer

2012-09-08 Thread Aurelien Jarno
On Sat, Sep 08, 2012 at 08:18:50AM +, Blue Swirl wrote: > On Fri, Sep 7, 2012 at 1:16 PM, Aurelien Jarno wrote: > > This patch series improves the TCG optimizer, based on patterns found > > while executing various guest. The brcond ad setcond constant folding > > are useful especially useful w

Re: [Qemu-devel] [PATCH v2 0/9] Improve TCG optimizer

2012-09-08 Thread Blue Swirl
On Fri, Sep 7, 2012 at 1:16 PM, Aurelien Jarno wrote: > This patch series improves the TCG optimizer, based on patterns found > while executing various guest. The brcond ad setcond constant folding > are useful especially useful when they are used to avoid some argument > values (e.g. division by

[Qemu-devel] [PATCH v2 0/9] Improve TCG optimizer

2012-09-07 Thread Aurelien Jarno
This patch series improves the TCG optimizer, based on patterns found while executing various guest. The brcond ad setcond constant folding are useful especially useful when they are used to avoid some argument values (e.g. division by 0), and thus can be optimized when this argument is a constant.