qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 4/6] linux-user: Rewrite __get_user/__put_user w


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH 4/6] linux-user: Rewrite __get_user/__put_user with __builtin_choose_expr
Date: Thu, 11 Oct 2012 12:52:27 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121009 Thunderbird/16.0

On 10/11/2012 12:22 PM, Richard Henderson wrote:
> The previous formuation with multiple assignments to __typeof(*hptr) falls
> down when hptr is qualified const.  E.g. with const struct S *p, p->f is
> also qualified const.
> 
> With this formulation, there's no assignment to any local variable.
> 
> Signed-off-by: Richard Henderson <address@hidden>

Scratch that... I lost the unaligned access capability.
I'll have to re-work the patch.


r~



reply via email to

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