Commit | Line | Data |
---|---|---|
c0f3af97 L |
1 | # Check 64bit AES new instructions. |
2 | ||
3 | .text | |
4 | foo: | |
5 | aesenc (%rcx),%xmm0 | |
6 | aesenc %xmm1,%xmm0 | |
7 | aesenclast (%rcx),%xmm0 | |
8 | aesenclast %xmm1,%xmm0 | |
9 | aesdec (%rcx),%xmm0 | |
10 | aesdec %xmm1,%xmm0 | |
11 | aesdeclast (%rcx),%xmm0 | |
12 | aesdeclast %xmm1,%xmm0 | |
13 | aesimc (%rcx),%xmm0 | |
14 | aesimc %xmm1,%xmm0 | |
15 | aeskeygenassist $8,(%rcx),%xmm0 | |
16 | aeskeygenassist $8,%xmm1,%xmm0 | |
17 | ||
18 | .intel_syntax noprefix | |
19 | aesenc xmm0,XMMWORD PTR [rcx] | |
20 | aesenc xmm0,xmm1 | |
21 | aesenclast xmm0,XMMWORD PTR [rcx] | |
22 | aesenclast xmm0,xmm1 | |
23 | aesdec xmm0,XMMWORD PTR [rcx] | |
24 | aesdec xmm0,xmm1 | |
25 | aesdeclast xmm0,XMMWORD PTR [rcx] | |
26 | aesdeclast xmm0,xmm1 | |
27 | aesimc xmm0,XMMWORD PTR [rcx] | |
28 | aesimc xmm0,xmm1 | |
29 | aeskeygenassist xmm0,XMMWORD PTR [rcx],8 | |
30 | aeskeygenassist xmm0,xmm1,8 |