mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-01-10 07:41:41 +00:00
edad24479b
For these unit tests we no longer need to put them in the disabled tests file. Instead it will be skipped if the host doesn't support the feature required.
26 lines
416 B
NASM
26 lines
416 B
NASM
%ifdef CONFIG
|
|
{
|
|
"RegData": {
|
|
"RAX": "0x00012567",
|
|
"RBX": "0xFF00FFF0",
|
|
"RCX": "0x12005670",
|
|
"RDX": "0x0801256708012567",
|
|
"RSI": "0xFF00FF00FF00FF00",
|
|
"RDI": "0x0800010025006700"
|
|
},
|
|
"HostFeatures": ["BMI2"]
|
|
}
|
|
%endif
|
|
|
|
; 32-bit
|
|
mov eax, 0x00012567
|
|
mov ebx, 0xFF00FFF0
|
|
pdep ecx, eax, ebx
|
|
|
|
; 64-bit
|
|
mov rdx, 0x0801256708012567
|
|
mov rsi, 0xFF00FF00FF00FF00
|
|
pdep rdi, rdx, rsi
|
|
|
|
hlt
|