From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:32860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLfGt-0007Nw-JR for qemu-devel@nongnu.org; Tue, 09 Oct 2012 15:15:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TLfGp-0006HB-HL for qemu-devel@nongnu.org; Tue, 09 Oct 2012 15:15:15 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:38886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLfGp-0006Fn-Ao for qemu-devel@nongnu.org; Tue, 09 Oct 2012 15:15:11 -0400 Received: by mail-pb0-f45.google.com with SMTP id rp2so5589804pbb.4 for ; Tue, 09 Oct 2012 12:15:10 -0700 (PDT) Sender: Richard Henderson Message-ID: <507477BC.90307@twiddle.net> Date: Tue, 09 Oct 2012 12:15:08 -0700 From: Richard Henderson MIME-Version: 1.0 References: <1349526621-13939-1-git-send-email-pbonzini@redhat.com> <1349526621-13939-10-git-send-email-pbonzini@redhat.com> In-Reply-To: <1349526621-13939-10-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 09/14] i386: do not call helper to compute ZF/SF List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org On 10/06/2012 05:30 AM, Paolo Bonzini wrote: > ZF, SF and PF can always be computed from CC_DST except in the > CC_OP_EFLAGS case (and CC_OP_DYNAMIC, which just resolves to CC_OP_EFLAGS > in gen_compute_eflags). Use setcond to compute ZF and SF. > > We could also use a table lookup to compute PF. > > Signed-off-by: Paolo Bonzini Reviewed-by: Richard Henderson r~