From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41955) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TES8C-0003jp-0D for qemu-devel@nongnu.org; Wed, 19 Sep 2012 17:48:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TES8A-0006hz-RY for qemu-devel@nongnu.org; Wed, 19 Sep 2012 17:48:27 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:37022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TES8A-0006ho-Lb for qemu-devel@nongnu.org; Wed, 19 Sep 2012 17:48:26 -0400 Received: by pbbrp12 with SMTP id rp12so3449084pbb.4 for ; Wed, 19 Sep 2012 14:48:26 -0700 (PDT) Sender: Richard Henderson Message-ID: <505A3DA8.6090201@twiddle.net> Date: Wed, 19 Sep 2012 14:48:24 -0700 From: Richard Henderson MIME-Version: 1.0 References: <1348084823-18277-1-git-send-email-aurelien@aurel32.net> <1348084823-18277-8-git-send-email-aurelien@aurel32.net> In-Reply-To: <1348084823-18277-8-git-send-email-aurelien@aurel32.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 7/9] tcg/optimize: further optimize brcond/setcond List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno Cc: qemu-devel@nongnu.org On 09/19/2012 01:00 PM, Aurelien Jarno wrote: > When both arguments of brcond/setcond are the same or when one of > the two values is a constant equal to zero, it's possible to do > further optimizations. This helps the computation of carry flags > when one of the two args is 0. > > Signed-off-by: Aurelien Jarno Reviewed-by: Richard Henderson r~