FEX/unittests/ASM/H0F38/sha1msg1.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

24 lines
508 B
NASM

%ifdef CONFIG
{
"RegData": {
"XMM1": ["0x5790A6E435CD1A3E", "0x3CEC3979BF41FAEF"],
"XMM2": ["0x6868C3F3AAED56E0", "0xF0FCE9E294E6E6DE"]
},
"HostFeatures": ["SHA"]
}
%endif
lea rdx, [rel .data]
movaps xmm1, [rdx + 16 * 0]
movaps xmm2, [rdx + 16 * 1]
sha1msg1 xmm1, xmm2
hlt
align 16
.data:
db 0xe0, 0xfc, 0x2b, 0xa1, 0x06, 0x4f, 0x6c, 0xa7, 0x0f, 0x06, 0x6a, 0x1e, 0x7f, 0x76, 0x80, 0x9b
db 0xe0, 0x56, 0xed, 0xaa, 0xf3, 0xc3, 0x68, 0x68, 0xde, 0xe6, 0xe6, 0x94, 0xe2, 0xe9, 0xfc, 0xf0