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
337 B
NASM

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