mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-01-22 14:26:51 +00:00
Adds PSLLDQ and PSRLDQ unit test
This commit is contained in:
parent
1025ff75be
commit
d5b703aaea
24
unittests/ASM/pslldq.asm
Normal file
24
unittests/ASM/pslldq.asm
Normal file
@ -0,0 +1,24 @@
|
||||
%ifdef CONFIG
|
||||
{
|
||||
"Match": "All",
|
||||
"RegData": {
|
||||
"XMM0": ["0xadbeefbad0dad100", "0x41414141414141de"],
|
||||
"XMM1": ["0x41deadbeefbad0da", "0x0041414141414141"]
|
||||
}
|
||||
}
|
||||
%endif
|
||||
|
||||
mov rdx, 0xe8000000
|
||||
mov rax, 0xDEADBEEFBAD0DAD1
|
||||
mov rcx, 0x4141414141414141
|
||||
|
||||
mov [rdx], rax
|
||||
mov [rdx + 8], rcx
|
||||
|
||||
movups xmm0, [rdx]
|
||||
pslldq xmm0, 1
|
||||
|
||||
movups xmm1, [rdx]
|
||||
psrldq xmm1, 1
|
||||
|
||||
hlt
|
Loading…
x
Reference in New Issue
Block a user