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

Re: [Xen-devel] floating-point arithmetic



On Sat, 2014-10-18 at 09:39 +0800, Anh Dinh wrote:
> I compiled Xen with the flag:
> 
> 
> -mfpmath=sse -msse2
> 
> 
> so that I can use double variables in implementing a hypercall inside
> Xen hypervisor. 

Using floating point registers (so FPU, SSE, MMX, etc) is not allowed
inside the hypervisor. Hence you cannot use the C float or double types.

> Would appreciate any suggestion. 

You will have to find a way to achieve your goal using integer maths.

Ian.



_______________________________________________
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®.