From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKwLR-0002Ti-4s for qemu-devel@nongnu.org; Sun, 07 Oct 2012 15:16:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKwLQ-0007m2-8L for qemu-devel@nongnu.org; Sun, 07 Oct 2012 15:16:57 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:40005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKwLQ-0007ln-2A for qemu-devel@nongnu.org; Sun, 07 Oct 2012 15:16:56 -0400 Received: by mail-pb0-f45.google.com with SMTP id rp2so3449090pbb.4 for ; Sun, 07 Oct 2012 12:16:54 -0700 (PDT) Sender: Richard Henderson Message-ID: <5071D524.5080005@twiddle.net> Date: Sun, 07 Oct 2012 12:16:52 -0700 From: Richard Henderson MIME-Version: 1.0 References: <1349481310-9237-1-git-send-email-rth@twiddle.net> <1349481310-9237-24-git-send-email-rth@twiddle.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 23/23] target-sparc: Optimize conditionals using SUBCC List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel@nongnu.org On 10/07/2012 11:48 AM, Blue Swirl wrote: > This is not yet optimal, we could do the same trick as is done for x86 > for cmp/jcc case (target-i386/translate.c:889), but it's still an > improvement so I applied it with others. It's trickier with sparc, because of the (exceedingly rare) conditional branch in branch delay slot case. I've yet to come up with a plan to handle that which is better than the existing cpu_cond global variable. (Which we now at least initialize with setcond.) r~