From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XROGG-0002jL-4J for qemu-devel@nongnu.org; Tue, 09 Sep 2014 12:27:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XROG9-0006g1-Lb for qemu-devel@nongnu.org; Tue, 09 Sep 2014 12:27:20 -0400 Message-ID: <540F2A48.40809@redhat.com> Date: Tue, 09 Sep 2014 18:26:48 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1409246113-6519-1-git-send-email-pbonzini@redhat.com> <1409246113-6519-16-git-send-email-pbonzini@redhat.com> <5408AEF7.7030000@gmail.com> <540F24DF.9080805@twiddle.net> In-Reply-To: <540F24DF.9080805@twiddle.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH 15/17] ppc: store CR registers in 32 1-bit registers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson , Tom Musta , qemu-devel@nongnu.org Cc: dgibson@redhat.com, qemu-ppc@nongnu.org Il 09/09/2014 18:03, Richard Henderson ha scritto: > Note that since most hosts don't have nand, the combination > > nand x,y,z > and x.x,1 > > would be better represented with > > and x,y,z > xor x,x,1 True (and even for crorc a,b,c you can change it to crandc a,c,b followed by xor). But this is quite a borderline case. You'll find in practice only "creqv a,a,a", which the optimizer can handle fine. Paolo