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.
35 lines
367 B
NASM
35 lines
367 B
NASM
%ifdef CONFIG
|
|
{
|
|
"RegData": {
|
|
"MM0": ["0xc3800000c3800000", "0x0"],
|
|
"MM1": ["0xc7800000c7800000", "0x0"]
|
|
},
|
|
"HostFeatures": ["3DNOW"]
|
|
}
|
|
%endif
|
|
|
|
movq mm0, [rel data1]
|
|
movq mm1, [rel data2]
|
|
|
|
pfmul mm0, [rel data3]
|
|
pfmul mm1, [rel data4]
|
|
|
|
hlt
|
|
|
|
align 8
|
|
data1:
|
|
dd -1.0
|
|
dd 1.0
|
|
|
|
data2:
|
|
dd -128.0
|
|
dd 128.0
|
|
|
|
data3:
|
|
dd 256.0
|
|
dd -256.0
|
|
|
|
data4:
|
|
dd 512.0
|
|
dd -512.0
|