Merge remote-tracking branch 'github/nasm-2.15.xx'
[nasm.git] / test / sha-64.asm
blob6cce663e7e3f2e8b7705b1a874bbf0f1183b5890
1 ;Testname=sha-64; Arguments=-felf64 -osha-64.o -O0; Files=stdout stderr sha-64.o
2 BITS 64
3 sha1rnds4 xmm1, xmm2, 9
4 sha1rnds4 xmm2, [rax], 7
5 sha1rnds4 xmm3, [rax+0x12], 5
6 sha1rnds4 xmm4, [rax+rbx*2], 1
7 sha1nexte xmm1, xmm2
8 sha1nexte xmm2, [rax]
9 sha1nexte xmm3, [rax+0x12]
10 sha1nexte xmm4, [rax+rbx*2]
11 sha1msg1 xmm1, xmm2
12 sha1msg1 xmm2, [rax]
13 sha1msg1 xmm3, [rax+0x12]
14 sha1msg1 xmm4, [rax+rbx*2]
15 sha1msg2 xmm1, xmm2
16 sha1msg2 xmm2, [rax]
17 sha1msg2 xmm3, [rax+0x12]
18 sha1msg2 xmm4, [rax+rbx*2]
19 sha256rnds2 xmm1, xmm2, xmm0
20 sha256rnds2 xmm2, [rax], xmm0
21 sha256rnds2 xmm3, [rax+0x12], xmm0
22 sha256rnds2 xmm4, [rax+rbx*2], xmm0
23 sha256msg1 xmm1, xmm2
24 sha256msg1 xmm2, [rax]
25 sha256msg1 xmm3, [rax+0x12]
26 sha256msg1 xmm4, [rax+rbx*2]
27 sha256msg2 xmm1, xmm2
28 sha256msg2 xmm2, [rax]
29 sha256msg2 xmm3, [rax+0x12]
30 sha256msg2 xmm4, [rax+rbx*2]