From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9fAj-0005PG-JW for qemu-devel@nongnu.org; Thu, 06 Sep 2012 12:43:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9fAd-0008UZ-QP for qemu-devel@nongnu.org; Thu, 06 Sep 2012 12:43:17 -0400 Received: from mail-vc0-f173.google.com ([209.85.220.173]:62810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9fAd-0008UT-Jx for qemu-devel@nongnu.org; Thu, 06 Sep 2012 12:43:11 -0400 Received: by vcbfl10 with SMTP id fl10so2520751vcb.4 for ; Thu, 06 Sep 2012 09:43:11 -0700 (PDT) Sender: Richard Henderson Message-ID: <5048D29C.1000804@twiddle.net> Date: Thu, 06 Sep 2012 09:43:08 -0700 From: Richard Henderson MIME-Version: 1.0 References: <1346943657-17256-1-git-send-email-aurelien@aurel32.net> In-Reply-To: <1346943657-17256-1-git-send-email-aurelien@aurel32.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/8] Improve TCG optimizer List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno Cc: qemu-devel@nongnu.org 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. r~