Received: from eggs.gnu.org ([208.118.235.92]:52254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ua0k3-0007hN-R1 for qemu-devel@nongnu.org; Wed, 08 May 2013 05:32:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ua0k1-0002Hq-Cr for qemu-devel@nongnu.org; Wed, 08 May 2013 05:32:55 -0400 Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Alexander Graf In-Reply-To: <86k3n9omj3.fsf@shell.gmplib.org> Date: Wed, 8 May 2013 11:32:49 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <74FDF56A-042E-426C-805B-9CD334373DE2@suse.de> References: <86sj20rql4.fsf@shell.gmplib.org> <5187ECAD.4050901@suse.de> <86obcorn76.fsf@shell.gmplib.org> <15FCEEAE-FE2D-44B9-9DC3-5419B29D5B16@suse.de> <86a9o7qe3u.fsf_-_@shell.gmplib.org> <86fvxypyru.fsf_-_@shell.gmplib.org> <518935E4.70908@suse.de> <8638typsnp.fsf@shell.gmplib.org> <86ppx2oaen.fsf@shell.gmplib.org> <20130508065009.GP5000@ohm.aurel32.net> <86k3n9omj3.fsf@shell.gmplib.org> Subject: Re: [Qemu-devel] [Qemu-ppc] Incorrect handling of more PPC64 insns (PATCH) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Torbjorn Granlund Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org, Richard Henderson On 08.05.2013, at 11:20, Torbjorn Granlund wrote: > Aurelien Jarno writes: >=20 > 64-bit CPUs check for the L bit of comparison instruction to = determine > if the instruction is 32-bit wide, and not to the MSR SF bit. >=20 > L=3D1 on a 32-bit CPU should generate an invalid instruction = exception. >=20 > No. See my previous post. >=20 > The L bit is to be ignored for 32-bit CPUs, just like the original = code > did. I see. So if the target is 64bit capable, then we distinguish by the = instruction bit, but for 32bit targets we always call the 32bit variant = regardless of the bit? Alex