Add nasm tests for movntpd & movntps
This commit is contained in:
parent
cd76fa7fff
commit
1e9c93252f
21
tests/nasm/movntpd.asm
Normal file
21
tests/nasm/movntpd.asm
Normal file
|
@ -0,0 +1,21 @@
|
|||
global _start
|
||||
|
||||
section .data
|
||||
align 16
|
||||
myfloat0:
|
||||
dd 1.234567e20
|
||||
myfloat1:
|
||||
dd 2.345678e20
|
||||
myfloat2:
|
||||
dd 3.456789e20
|
||||
myfloat3:
|
||||
dd 4.567891e20
|
||||
myaddress:
|
||||
dd 0xdeadbeef
|
||||
%include "header.inc"
|
||||
|
||||
movapd xmm0, [myfloat0]
|
||||
movntpd [myaddress], xmm0
|
||||
movapd xmm1, [myaddress]
|
||||
|
||||
%include "footer.inc"
|
21
tests/nasm/movntps.asm
Normal file
21
tests/nasm/movntps.asm
Normal file
|
@ -0,0 +1,21 @@
|
|||
global _start
|
||||
|
||||
section .data
|
||||
align 16
|
||||
myfloat0:
|
||||
dd 1.234567e20
|
||||
myfloat1:
|
||||
dd 2.345678e20
|
||||
myfloat2:
|
||||
dd 3.456789e20
|
||||
myfloat3:
|
||||
dd 4.567891e20
|
||||
myaddress:
|
||||
dd 0xdeadbeef
|
||||
%include "header.inc"
|
||||
|
||||
movapd xmm0, [myfloat0]
|
||||
movntps [myaddress], xmm0
|
||||
movapd xmm1, [myaddress]
|
||||
|
||||
%include "footer.inc"
|
Loading…
Reference in a new issue