qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Q: why different sizes of qemu executables for differen


From: Peter Maydell
Subject: Re: [Qemu-devel] Q: why different sizes of qemu executables for different endians
Date: Thu, 27 Oct 2016 15:39:08 +0100

On 27 October 2016 at 13:58, Ambrogino Modigliani
<address@hidden> wrote:
>    Hello,
>
>    I just checked sizes of user mode Qemu executables built from fresh
>    source tree, and noticed that sizes of versions of these executables
>    for same platform but different endian are not the same. I expected
>    them to be exactly the same.

Why would you expect that? If the guest endianness and the host
endianness don't match the compiler will end up generating more
code to do byte swaps in the correct places, so it's very unlikely
that the two will be the same size -- there is more work to be
done in one case than the other.

thanks
-- PMM



reply via email to

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