Skip to contentSkip to conversation

(Almost) complete FPU emulation.

PATCH Keir Fraser 1 participant 1 message Jul 1, 2008 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 9 lines · Andi Kleen
Quoted 6 lines

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