svn commit: r238676 - head/sys/i386/isa
Konstantin Belousov
kib at FreeBSD.org
Sat Jul 21 21:39:24 UTC 2012
Author: kib
Date: Sat Jul 21 21:39:23 2012
New Revision: 238676
URL: http://svn.freebsd.org/changeset/base/238676
Log:
MFamd64 r238597:
Add stmxcsr.
MFC after: 3 weeks
Modified:
head/sys/i386/isa/npx.c
Modified: head/sys/i386/isa/npx.c
==============================================================================
--- head/sys/i386/isa/npx.c Sat Jul 21 21:39:02 2012 (r238675)
+++ head/sys/i386/isa/npx.c Sat Jul 21 21:39:23 2012 (r238676)
@@ -99,6 +99,7 @@ __FBSDID("$FreeBSD$");
#ifdef CPU_ENABLE_SSE
#define fxrstor(addr) __asm __volatile("fxrstor %0" : : "m" (*(addr)))
#define fxsave(addr) __asm __volatile("fxsave %0" : "=m" (*(addr)))
+#define stmxcsr(addr) __asm __volatile("stmxcsr %0" : : "m" (*(addr)))
#endif
#else /* !(__GNUCLIKE_ASM && !lint) */
@@ -113,6 +114,7 @@ void frstor(caddr_t addr);
#ifdef CPU_ENABLE_SSE
void fxsave(caddr_t addr);
void fxrstor(caddr_t addr);
+void stmxcsr(u_int csr);
#endif
#endif /* __GNUCLIKE_ASM && !lint */
More information about the svn-src-head
mailing list