Fix some tests
This commit is contained in:
parent
3ee95a549d
commit
133656dcde
2
Makefile
2
Makefile
|
@ -276,7 +276,7 @@ qemutests: all-debug
|
||||||
|
|
||||||
qemutests-release: all
|
qemutests-release: all
|
||||||
$(MAKE) -C tests/qemu test-i386
|
$(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
|
./tests/qemu/run-qemu.js > build/qemu-test-reference
|
||||||
diff build/qemu-test-result build/qemu-test-reference
|
diff build/qemu-test-result build/qemu-test-reference
|
||||||
|
|
||||||
|
|
|
@ -16,14 +16,12 @@ dwSNaN:
|
||||||
dd __SNaN__
|
dd __SNaN__
|
||||||
dwQNaN:
|
dwQNaN:
|
||||||
dd __QNaN__
|
dd __QNaN__
|
||||||
maskEFLAGS:
|
|
||||||
dd 0x45
|
|
||||||
|
|
||||||
; Moves EFLAGS into specified register
|
; Moves EFLAGS into specified register
|
||||||
%macro moveflags 1
|
%macro moveflags 1
|
||||||
pushf
|
pushf
|
||||||
|
and dword [esp], 0x45
|
||||||
pop eax
|
pop eax
|
||||||
and eax, [maskEFLAGS]
|
|
||||||
movd %1, eax
|
movd %1, eax
|
||||||
%endmacro
|
%endmacro
|
||||||
|
|
||||||
|
|
|
@ -16,14 +16,12 @@ dwSNaN:
|
||||||
dd __SNaN__
|
dd __SNaN__
|
||||||
dwQNaN:
|
dwQNaN:
|
||||||
dd __QNaN__
|
dd __QNaN__
|
||||||
maskEFLAGS:
|
|
||||||
dd 0x45
|
|
||||||
|
|
||||||
; Moves EFLAGS into specified register
|
; Moves EFLAGS into specified register
|
||||||
%macro moveflags 1
|
%macro moveflags 1
|
||||||
pushf
|
pushf
|
||||||
|
and dword [esp], 0x45
|
||||||
pop eax
|
pop eax
|
||||||
and eax, [maskEFLAGS]
|
|
||||||
movd %1, eax
|
movd %1, eax
|
||||||
%endmacro
|
%endmacro
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue