From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRnhb-0002iS-MQ for qemu-devel@nongnu.org; Mon, 25 Jul 2016 17:46:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bRnhY-0004zn-HC for qemu-devel@nongnu.org; Mon, 25 Jul 2016 17:46:19 -0400 Received: from gate.crashing.org ([63.228.1.57]:47039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRnhY-0004zj-6c for qemu-devel@nongnu.org; Mon, 25 Jul 2016 17:46:16 -0400 Message-ID: <1469483169.5978.57.camel@kernel.crashing.org> From: Benjamin Herrenschmidt Date: Tue, 26 Jul 2016 07:46:09 +1000 In-Reply-To: <8a2d56b8-d328-bfd0-bdb1-f65fd4f479e2@twiddle.net> References: <1469364141.8568.251.camel@kernel.crashing.org> <441c89df-0830-ab0c-6298-89374b1cbe9d@twiddle.net> <1469423736.5978.13.camel@kernel.crashing.org> <8a2d56b8-d328-bfd0-bdb1-f65fd4f479e2@twiddle.net> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] TCG problem with cpu_{st,ld}x_data ? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson , qemu-devel@nongnu.org Cc: Paolo Bonzini , Christian Borntraeger On Mon, 2016-07-25 at 19:42 +0530, Richard Henderson wrote: > For some targets, we also restore part of the flags computation with th= is=C2=A0 > mechanism.=C2=A0 With more trickery, ARM is (intending to?) compute exc= eption=C2=A0 > syndrome information with this.=C2=A0 As I understand it, this is very = much akin to=C2=A0 > the PPC gen_set_access_type, so perhaps in future there's some savings = to be=C2=A0 > had there Indeed. Another issue we have is generating the opcode bits in DSISR. Now thankfully for most modern CPUs this is no longer done in HW but at the moment, I dont like how we call cpu_ldl_code() in powerpc_excp. Cheers, Ben.