Fix some tests

This commit is contained in:
Fabian 2021-01-03 22:36:02 -06:00
parent 3ee95a549d
commit 133656dcde
3 changed files with 3 additions and 7 deletions

View file

@ -276,7 +276,7 @@ qemutests: all-debug
qemutests-release: all
$(MAKE) -C tests/qemu test-i386
time TEST_RELEASE_BUILD=1 ./tests/qemu/run.js > build/qemu-test-result
TEST_RELEASE_BUILD=1 time ./tests/qemu/run.js > build/qemu-test-result
./tests/qemu/run-qemu.js > build/qemu-test-reference
diff build/qemu-test-result build/qemu-test-reference

View file

@ -16,14 +16,12 @@ dwSNaN:
dd __SNaN__
dwQNaN:
dd __QNaN__
maskEFLAGS:
dd 0x45
; Moves EFLAGS into specified register
%macro moveflags 1
pushf
and dword [esp], 0x45
pop eax
and eax, [maskEFLAGS]
movd %1, eax
%endmacro

View file

@ -16,14 +16,12 @@ dwSNaN:
dd __SNaN__
dwQNaN:
dd __QNaN__
maskEFLAGS:
dd 0x45
; Moves EFLAGS into specified register
%macro moveflags 1
pushf
and dword [esp], 0x45
pop eax
and eax, [maskEFLAGS]
movd %1, eax
%endmacro