[Qemu-devel] [PATCH v2 03/12] ARM: Add AArch64 translation stub

2013-04-30 Thread John Rigby
From: Alexander Graf ag...@suse.de We should translate AArch64 mode separately from AArch32 mode. In AArch64 mode, registers look vastly different, instruction encoding is completely different, basically the system turns into a different machine. So let's do a simple if() in translate.c to

Re: [Qemu-devel] [PATCH v2 03/12] ARM: Add AArch64 translation stub

2013-04-30 Thread Laurent Desnogues
On Tue, Apr 30, 2013 at 8:36 AM, John Rigby john.ri...@linaro.org wrote: From: Alexander Graf ag...@suse.de We should translate AArch64 mode separately from AArch32 mode. In AArch64 mode, registers look vastly different, instruction encoding is completely different, basically the system

Re: [Qemu-devel] [PATCH v2 03/12] ARM: Add AArch64 translation stub

2013-04-30 Thread Alexander Graf
Am 30.04.2013 um 10:01 schrieb Laurent Desnogues laurent.desnog...@gmail.com: On Tue, Apr 30, 2013 at 8:36 AM, John Rigby john.ri...@linaro.org wrote: From: Alexander Graf ag...@suse.de We should translate AArch64 mode separately from AArch32 mode. In AArch64 mode, registers look vastly

Re: [Qemu-devel] [PATCH v2 03/12] ARM: Add AArch64 translation stub

2013-04-30 Thread John Rigby
So do we set the number of registers back to 32 and use xregs[31] for sp and remove env-sp? --john On Tue, Apr 30, 2013 at 2:21 AM, Alexander Graf ag...@suse.de wrote: Am 30.04.2013 um 10:01 schrieb Laurent Desnogues laurent.desnog...@gmail.com: On Tue, Apr 30, 2013 at 8:36 AM, John

Re: [Qemu-devel] [PATCH v2 03/12] ARM: Add AArch64 translation stub

2013-04-30 Thread Alexander Graf
On 04/30/2013 02:41 PM, John Rigby wrote: So do we set the number of registers back to 32 and use xregs[31] for sp and remove env-sp? Please don't top post. Yes. Alex