Trolle Selander
2008-Jul-01 11:39 UTC
[Xen-devel] [PATCH] [x86_emulate] (Almost) complete FPU emulation.
This patch provides emulation for all FPU instructions except fsave/frstore & fnstenv/fldenv. While the main purpose of the patch is to avoid current and future "gotchas" on FPU intructions used by various OS boot-loaders, it is complete enough to run DOS realmode FPU applications and benchmarks, but don''t expect to set any speed records. Signed-off-by: Trolle Selander <trolle.selander@eu.citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2008-Jul-01 12:21 UTC
[Xen-devel] Re: [PATCH] [x86_emulate] (Almost) complete FPU emulation.
On 1/7/08 12:56, "Andi Kleen" <andi@firstfloor.org> wrote:>> This patch provides emulation for all FPU instructions except fsave/frstore & >> fnstenv/fldenv. >> While the main purpose of the patch is to avoid current and future "gotchas" >> on FPU intructions used by various OS boot-loaders, it is complete enough to >> run DOS realmode FPU applications and benchmarks, but don''t expect to set any >> speed records. > > What happens when one of these in hypervisor FPU instructions raise > an exception?That''s accounted for and plumbed correctly. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel