FEX/unittests/ASM/3DNow/96.asm
Ryan Houdek edad24479b unittests: Support skipping unit tests based on host feature support
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.
2022-08-14 20:04:26 -07:00

30 lines
357 B
NASM

%ifdef CONFIG
{
"RegData": {
"MM0": ["0xbf800000bf800000", "0x0"],
"MM1": ["0xbc000000bc000000", "0x0"],
"MM2": ["0x3f8000003f800000", "0x0"]
},
"HostFeatures": ["3DNOW"]
}
%endif
pfrcp mm0, [rel data1]
pfrcp mm1, [rel data2]
pfrcp mm2, [rel data3]
hlt
align 8
data1:
dd -1.0
dd 1.0
data2:
dd -128.0
dd 128.0
data3:
dd 1.0
dd -1.0