Received: from eggs.gnu.org ([208.118.235.92]:50386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9wYa-0003Yn-Ln for qemu-devel@nongnu.org; Fri, 07 Sep 2012 07:17:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9wYU-0002i1-Rs for qemu-devel@nongnu.org; Fri, 07 Sep 2012 07:17:04 -0400 Received: from hall.aurel32.net ([88.191.126.93]:47993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9wYU-0002h5-Lh for qemu-devel@nongnu.org; Fri, 07 Sep 2012 07:16:58 -0400 Date: Fri, 7 Sep 2012 12:06:11 +0200 From: Aurelien Jarno Message-ID: <20120907100611.GB15907@ohm.aurel32.net> References: <1346943657-17256-1-git-send-email-aurelien@aurel32.net> <5048D29C.1000804@twiddle.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <5048D29C.1000804@twiddle.net> Subject: Re: [Qemu-devel] [PATCH 0/8] Improve TCG optimizer List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: qemu-devel@nongnu.org On Thu, Sep 06, 2012 at 09:43:08AM -0700, Richard Henderson wrote: > On 09/06/2012 08:00 AM, 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 0), and thus can be optimized when this argument > > is a constant. > > > > This bring around 0.5% improvement on openssl like benchmarks. > > > > Aurelien Jarno (8): > > 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 => movi r, 0 cases > > tcg/optimize: swap brcond/setcond arguments when possible > > tcg/optimize: add constant folding for setcond > > tcg/optimize: add constant folding for brcond > > Patches 1-6,8: > Reviewed-by: Richard Henderson > > Patch 7 contains a trivial error. With that fixed it could > also bear my Reviewed-by mark. > Thanks for the review. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net