FEX/unittests/ASM/H0F38/sha256msg2.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
510 B
NASM

%ifdef CONFIG
{
"RegData": {
"XMM1": ["0x915D686150BD9E36", "0xB499245E9B33D33D"],
"XMM2": ["0x6868C3F3AAED56E0", "0xF0FCE9E294E6E6DE"]
},
"HostFeatures": ["SHA"]
}
%endif
lea rdx, [rel .data]
movaps xmm1, [rdx + 16 * 0]
movaps xmm2, [rdx + 16 * 1]
sha256msg2 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