FEX/unittests/ASM/3DNow/B4.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

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