Received: from eggs.gnu.org ([208.118.235.92]:55300) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ucx6p-0005uY-6G for qemu-devel@nongnu.org; Thu, 16 May 2013 08:16:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ucx6m-0005Ot-6S for qemu-devel@nongnu.org; Thu, 16 May 2013 08:16:35 -0400 Received: from smtp1-g21.free.fr ([2a01:e0c:1:1599::10]:57983) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ucx6l-0005NR-L9 for qemu-devel@nongnu.org; Thu, 16 May 2013 08:16:32 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Date: Thu, 16 May 2013 14:15:59 +0200 From: =?UTF-8?Q?Fran=C3=A7ois_Legal?= Message-ID: <99a573a2a121a4d85b72c473510637eb@thom.fr.eu.org> Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] Qemu for ARM and MRS/MSR banked registers instructions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: git@xilinx.com, qemu-devel@nongnu.org Hello, Did anybody pointed out that there may be problems with Qemu decoding the= se=20 MRS/MSR banked registers ? In my code, I do several mrs %r0, sp_usr mrs %r0, lr_usr from SVC mode or IRQ mode, and the result I get is CPSR in r0 I took a look in Qemu -> translate.c and op_helper.c, and it seem there i= s a=20 function to access usr/fiq banked registers (get_user_reg) but the call=20 hierarchy for this function is not very clear. About the same goes for MSR banked registers. Is it a known limitation or am I make mistakes in my code ? Thanks Fran=C3=A7ois