mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 14:00:16 +02:00
asm_tests: Implementation of FCNLEX to clear IE flag
This commit is contained in:
1 parent
b13162c5bf
commit
93c3eb064d
3 files changed
+2
-28
No files matched your search
@@ -10,7 +10,7 @@
|
||||
|
||||
finit ; IOC is 0
|
||||
fldz
|
||||
fld1
|
||||
fldz
|
||||
fdiv st0, st1 ; IOC is 1
|
||||
|
||||
fnstsw ax
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
finit ; IOC is 0
|
||||
fldz
|
||||
fld1
|
||||
fldz
|
||||
fdiv st0, st1 ; IOC is 1
|
||||
|
||||
fnstsw ax
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
%ifdef CONFIG
|
||||
{
|
||||
"RegData": {
|
||||
"RAX": "0",
|
||||
"RBX": "1"
|
||||
},
|
||||
"Env": { "FEX_X87REDUCEDPRECISION" : "1" }
|
||||
}
|
||||
%endif
|
||||
|
||||
finit ; IOC is 0
|
||||
fldz
|
||||
fld1
|
||||
fdiv st0, st1 ; IOC is 1
|
||||
|
||||
fnstsw ax
|
||||
and rax, 1
|
||||
mov rbx, rax ; save IOC to RBX
|
||||
|
||||
; Clear
|
||||
fnclex
|
||||
|
||||
fnstsw ax
|
||||
and rax, 1
|
||||
|
||||
hlt
|
||||
Reference in new issue
Block a user