Re: [Qemu-devel] [PATCH] microblaze: Remove uses of TCGv and target_ulong

2015-05-18 Thread Peter Maydell
On 18 May 2015 at 19:37, Richard Henderson wrote: > Aside from target_ulong addr, there's also TARGET_PAGE_MASK, TARGET_PAGE_SIZE, > TARGET_PAGE_BITS, CPU_TLB_SIZE. What's our position on the compatibility of > the mmu between the multi-arch platforms? I assume at the moment they must be > all t

Re: [Qemu-devel] [PATCH] microblaze: Remove uses of TCGv and target_ulong

2015-05-18 Thread Richard Henderson
On 05/15/2015 01:52 PM, Peter Crosthwaite wrote: > 2: Core code is converted to not use "target_ulong" (tcg_core_ulong?) > and target_ulong becomes a target-specific code concept. This is my favorite. I did poke around with new tcg opcodes to break some of the TARGET_LONG_BITS usage in the tcg ba

Re: [Qemu-devel] [PATCH] microblaze: Remove uses of TCGv and target_ulong

2015-05-15 Thread Peter Crosthwaite
On Fri, May 15, 2015 at 10:17 AM, Richard Henderson wrote: > On 05/15/2015 09:48 AM, Peter Crosthwaite wrote: >> On Fri, May 15, 2015 at 8:41 AM, Richard Henderson wrote: >>> On 05/14/2015 09:49 PM, Peter Crosthwaite wrote: To prepare support for conversion of Microblaze TARGET_LONG to 64 bi

Re: [Qemu-devel] [PATCH] microblaze: Remove uses of TCGv and target_ulong

2015-05-15 Thread Richard Henderson
On 05/15/2015 09:48 AM, Peter Crosthwaite wrote: > On Fri, May 15, 2015 at 8:41 AM, Richard Henderson wrote: >> On 05/14/2015 09:49 PM, Peter Crosthwaite wrote: >>> To prepare support for conversion of Microblaze TARGET_LONG to 64 bits. >>> This in turn will then allow support for multi-arch QEMU

Re: [Qemu-devel] [PATCH] microblaze: Remove uses of TCGv and target_ulong

2015-05-15 Thread Peter Crosthwaite
On Fri, May 15, 2015 at 8:41 AM, Richard Henderson wrote: > On 05/14/2015 09:49 PM, Peter Crosthwaite wrote: >> To prepare support for conversion of Microblaze TARGET_LONG to 64 bits. >> This in turn will then allow support for multi-arch QEMU including both >> Microblaze and 64-bit CPU targets (n

Re: [Qemu-devel] [PATCH] microblaze: Remove uses of TCGv and target_ulong

2015-05-15 Thread Richard Henderson
On 05/14/2015 09:49 PM, Peter Crosthwaite wrote: > To prepare support for conversion of Microblaze TARGET_LONG to 64 bits. > This in turn will then allow support for multi-arch QEMU including both > Microblaze and 64-bit CPU targets (notably AArch64). I don't understand why multi-arch requires all

Re: [Qemu-devel] [PATCH] microblaze: Remove uses of TCGv and target_ulong

2015-05-14 Thread Edgar E. Iglesias
On Thu, May 14, 2015 at 09:49:51PM -0700, Peter Crosthwaite wrote: > To prepare support for conversion of Microblaze TARGET_LONG to 64 bits. > This in turn will then allow support for multi-arch QEMU including both > Microblaze and 64-bit CPU targets (notably AArch64). > > Signed-off-by: Peter Cro

[Qemu-devel] [PATCH] microblaze: Remove uses of TCGv and target_ulong

2015-05-14 Thread Peter Crosthwaite
To prepare support for conversion of Microblaze TARGET_LONG to 64 bits. This in turn will then allow support for multi-arch QEMU including both Microblaze and 64-bit CPU targets (notably AArch64). Signed-off-by: Peter Crosthwaite --- target-microblaze/helper.c| 4 +- target-microblaze/tran