1 # Check SHA instructions
6 sha1rnds4 $9, %xmm2, %xmm1
7 sha1rnds4 $7, (%rax), %xmm2
8 sha1rnds4 $5, 0x12(%rax), %xmm3
9 sha1rnds4 $1, (%rax,%rbx,2), %xmm4
10 sha1nexte %xmm2, %xmm7
11 sha1nexte (%rax), %xmm8
12 sha1nexte 0x12(%rax), %xmm9
13 sha1nexte (%rax,%rbx,2), %xmm10
15 sha1msg1 (%rax), %xmm8
16 sha1msg1 0x12(%rax), %xmm9
17 sha1msg1 (%rax,%rbx,2), %xmm10
19 sha1msg2 (%rax), %xmm8
20 sha1msg2 0x12(%rax), %xmm9
21 sha1msg2 (%rax,%rbx,2), %xmm10
22 sha256rnds2 %xmm2, %xmm1
23 sha256rnds2 (%rax), %xmm1
24 sha256rnds2 0x12(%rax), %xmm1
25 sha256rnds2 (%rax,%rbx,2), %xmm1
26 sha256rnds2 %xmm0, %xmm2, %xmm1
27 sha256rnds2 %xmm0, (%rax), %xmm1
28 sha256rnds2 %xmm0, 0x12(%rax), %xmm1
29 sha256rnds2 %xmm0, (%rax,%rbx,2), %xmm1
30 sha256msg1 %xmm2, %xmm1
31 sha256msg1 (%rax), %xmm1
32 sha256msg1 0x12(%rax), %xmm1
33 sha256msg1 (%rax,%rbx,2), %xmm1
34 sha256msg2 %xmm2, %xmm1
35 sha256msg2 (%rax), %xmm1
36 sha256msg2 0x12(%rax), %xmm1
37 sha256msg2 (%rax,%rbx,2), %xmm1
39 .intel_syntax noprefix
41 sha1rnds4 xmm1, xmm2, 9
42 sha1rnds4 xmm2, XMMWORD PTR [rax], 7
43 sha1rnds4 xmm3, XMMWORD PTR [rax+0x12], 5
44 sha1rnds4 xmm4, XMMWORD PTR [rax+rbx*2], 1
46 sha1nexte xmm2, XMMWORD PTR [rax]
47 sha1nexte xmm3, XMMWORD PTR [rax+0x12]
48 sha1nexte xmm4, XMMWORD PTR [rax+rbx*2]
50 sha1msg1 xmm2, XMMWORD PTR [rax]
51 sha1msg1 xmm3, XMMWORD PTR [rax+0x12]
52 sha1msg1 xmm4, XMMWORD PTR [rax+rbx*2]
54 sha1msg2 xmm2, XMMWORD PTR [rax]
55 sha1msg2 xmm3, XMMWORD PTR [rax+0x12]
56 sha1msg2 xmm4, XMMWORD PTR [rax+rbx*2]
57 sha256rnds2 xmm1, xmm2
58 sha256rnds2 xmm2, XMMWORD PTR [rax]
59 sha256rnds2 xmm3, XMMWORD PTR [rax+0x12]
60 sha256rnds2 xmm4, XMMWORD PTR [rax+rbx*2]
61 sha256rnds2 xmm1, xmm2, xmm0
62 sha256rnds2 xmm2, XMMWORD PTR [rax], xmm0
63 sha256rnds2 xmm3, XMMWORD PTR [rax+0x12], xmm0
64 sha256rnds2 xmm4, XMMWORD PTR [rax+rbx*2], xmm0
66 sha256msg1 xmm2, XMMWORD PTR [rax]
67 sha256msg1 xmm3, XMMWORD PTR [rax+0x12]
68 sha256msg1 xmm4, XMMWORD PTR [rax+rbx*2]
70 sha256msg2 xmm2, XMMWORD PTR [rax]
71 sha256msg2 xmm3, XMMWORD PTR [rax+0x12]
72 sha256msg2 xmm4, XMMWORD PTR [rax+rbx*2]