Implements unit tests for the two new move temporal instructions

This commit is contained in:
Ryan Houdek committed 2020-04-24 23:05:12 -07:00
1 parent 8ffccc0027
commit cd50ea7c57
2 files changed
+56

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
%ifdef CONFIG
{
"RegData": {
"XMM0": ["0x4142434445464748", "0x5152535455565758"],
"XMM1": ["0x0000000045464748", "0x0"]
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x4142434445464748
mov [rdx + 8 * 0], rax
mov rax, 0x5152535455565758
mov [rdx + 8 * 1], rax
mov rax, 0x0
mov [rdx + 8 * 2], rax
mov [rdx + 8 * 3], rax
movaps xmm0, [rdx + 8 * 0]
movntss [rdx + 8 * 2], xmm0
movaps xmm1, [rdx + 8 * 2]
hlt
+28
View File
@@ -0,0 +1,28 @@
%ifdef CONFIG
{
"RegData": {
"XMM0": ["0x4142434445464748", "0x5152535455565758"],
"XMM1": ["0x4142434445464748", "0x0"]
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x4142434445464748
mov [rdx + 8 * 0], rax
mov rax, 0x5152535455565758
mov [rdx + 8 * 1], rax
mov rax, 0x0
mov [rdx + 8 * 2], rax
mov [rdx + 8 * 3], rax
movaps xmm0, [rdx + 8 * 0]
movntsd [rdx + 8 * 2], xmm0
movaps xmm1, [rdx + 8 * 2]
hlt