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

Re: [Xen-devel] [PATCH] xen: arm: make sure gcc doesn't use floating-point registers on arm64



Hi Ian,

On 06/26/2014 05:30 PM, Ian Campbell wrote:
> By using -mgeneral-regs-only which is the Aarch64 equivalent to
> -msoft-float.
> 
> Otherwise gcc will corrupt the d* registers, which we don't save/restore when
> trapping to/from the hypervisor.
> 
> Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

Acked-by: Julien Grall <julien.grall@xxxxxxxxxx>

> ---
> Needless to say I consider this important for 4.4 backport...

+1. I'm a bit surprised that it doesn't happen often.

Regards,

-- 
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.