On 4 October 2012 11:23, Michael Tokarev <[email protected]> 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
