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

35 lines
367 B
NASM

%ifdef CONFIG
{
"RegData": {
"MM0": ["0xc37f0000437f0000", "0x0"],
"MM1": ["0xc3c0000043c00000", "0x0"]
},
"HostFeatures": ["3DNOW"]
}
%endif
movq mm0, [rel data1]
movq mm1, [rel data2]
pfadd mm0, [rel data3]
pfadd 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