mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-22 11:17:19 +00:00
FNSTSW instruction can use AX register as an operand.
Obtained from: fenv.h
This commit is contained in:
parent
c3b40fb7bf
commit
2e50fa36a5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=210517
@ -69,7 +69,7 @@ __FBSDID("$FreeBSD$");
|
||||
#define fnclex() __asm("fnclex")
|
||||
#define fninit() __asm("fninit")
|
||||
#define fnstcw(addr) __asm __volatile("fnstcw %0" : "=m" (*(addr)))
|
||||
#define fnstsw(addr) __asm __volatile("fnstsw %0" : "=m" (*(addr)))
|
||||
#define fnstsw(addr) __asm __volatile("fnstsw %0" : "=am" (*(addr)))
|
||||
#define fxrstor(addr) __asm("fxrstor %0" : : "m" (*(addr)))
|
||||
#define fxsave(addr) __asm __volatile("fxsave %0" : "=m" (*(addr)))
|
||||
#define ldmxcsr(r) __asm __volatile("ldmxcsr %0" : : "m" (r))
|
||||
|
@ -92,7 +92,7 @@ __FBSDID("$FreeBSD$");
|
||||
#define fninit() __asm("fninit")
|
||||
#define fnsave(addr) __asm __volatile("fnsave %0" : "=m" (*(addr)))
|
||||
#define fnstcw(addr) __asm __volatile("fnstcw %0" : "=m" (*(addr)))
|
||||
#define fnstsw(addr) __asm __volatile("fnstsw %0" : "=m" (*(addr)))
|
||||
#define fnstsw(addr) __asm __volatile("fnstsw %0" : "=am" (*(addr)))
|
||||
#define fp_divide_by_0() __asm("fldz; fld1; fdiv %st,%st(1); fnop")
|
||||
#define frstor(addr) __asm("frstor %0" : : "m" (*(addr)))
|
||||
#ifdef CPU_ENABLE_SSE
|
||||
|
Loading…
Reference in New Issue
Block a user