qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Make target_phys_addr_t 64 bits unconditionally


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] Make target_phys_addr_t 64 bits unconditionally
Date: Thu, 4 Oct 2012 11:28:37 +0100

On 4 October 2012 11:23, Michael Tokarev <address@hidden> wrote:
> On 04.10.2012 14:07, Avi Kivity wrote:
>> The hassle and compile time overhead of maintaining both 32-bit and 64-bit
>> capable source isn't worth the tiny performance advantage which is seen on
>> a minority of configurations.  Switch to compiling libhw only once, with
>> target_phys_addr_t unconditionally typedefed to uint64_t.
>
> Isn't it the real difference between qemu-system-i386 and qemu-system-x86_64

No; today configure builds both -i386 and -x86_64 binaries with
target_phys_addr_t a 64 bit type. The difference is in various
things like (a) what size of registers are we emulating (b) how
big is the physical and virtual address space (distinct from the
type width) and (c) a bunch of stuff in the decoder for whether
we actually allow the 64 bit insns.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]