From: H. P. A. <hp...@zy...> - 2008-02-14 19:27:18
|
Date: Thu, 14 Feb 2008 11:25:14 -0800 Add the XSAVE group of instructions: XSAVE, XRSTOR, XGETBV, XSETBV. The CPU feature information is bogus, but so is our entire handling of CPU feature sets for anything but the bare necessities (long jump emulation, etc.) --- insns.dat | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/insns.dat b/insns.dat index 555d5cb..323a7f5 100644 --- a/insns.dat +++ b/insns.dat @@ -1464,6 +1464,13 @@ XORPS xmmreg,xmmrm \2\x0F\x57\110 KATMAI,SSE FXRSTOR mem \2\x0F\xAE\201 P6,SSE,FPU FXSAVE mem \2\x0F\xAE\200 P6,SSE,FPU +; Introduced in ??? ... we really need to clean up the handling +; of CPU feature bits. +XGETBV void \3\x0F\x01\xD0 NEHALEM,PRIV +XSETBV void \3\x0F\x01\xD1 NEHALEM,PRIV +XSAVE mem \2\x0F\xAE\204 NEHALEM +XRSTOR mem \2\x0F\xAE\205 NEHALEM + ; These instructions are not SSE-specific; they are ;# Generic memory operations ; and work even if CR4.OSFXFR == 0 -- 1.5.3.8 |