qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/2] tcg: Add TYPE parameter to tcg_out_mov.


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH 1/2] tcg: Add TYPE parameter to tcg_out_mov.
Date: Fri, 4 Jun 2010 19:19:40 +0000

On Thu, Jun 3, 2010 at 12:26 AM, Richard Henderson <address@hidden> wrote:
> Mirror tcg_out_movi in having a TYPE parameter.  This allows x86_64
> to perform the move at the proper width, which may elide a REX prefix.
>
> Introduce a TCG_TYPE_REG enumerator to represent the "native width"
> of the host register, and to distinguish the usage from "pointer data"
> as represented by the existing TCG_TYPE_PTR.
>
> Update all targets to match.
>
> Signed-off-by: Richard Henderson <address@hidden>

Sparc part looks fine to me.

> +
> +    /* An alias for the size of the native pointer.  We don't currently
> +       support any hosts with 64-bit registers and 32-bit pointers.  */

Sparc32plus would match, though the ABI does not guarantee that higher
32 bits are preserved.



reply via email to

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