Commit | Line | Data |
---|---|---|
8dcf1fad IT |
1 | # Check 64bit VAES instructions |
2 | ||
3 | .allow_index_reg | |
4 | .text | |
5 | _start: | |
6 | # Tests for op ymm/mem256, ymm, ymm | |
7 | vaesenc %ymm4,%ymm6,%ymm2 | |
8 | vaesenc (%rcx),%ymm6,%ymm7 | |
9 | vaesenclast %ymm4,%ymm6,%ymm2 | |
10 | vaesenclast (%rcx),%ymm6,%ymm7 | |
11 | vaesdec %ymm4,%ymm6,%ymm2 | |
12 | vaesdec (%rcx),%ymm6,%ymm7 | |
13 | vaesdeclast %ymm4,%ymm6,%ymm2 | |
14 | vaesdeclast (%rcx),%ymm6,%ymm7 | |
15 | ||
16 | .intel_syntax noprefix | |
17 | ||
18 | # Tests for op ymm/mem256, ymm, ymm | |
19 | vaesenc ymm2,ymm6,ymm4 | |
20 | vaesenc ymm7,ymm6,YMMWORD PTR [rcx] | |
21 | vaesenc ymm7,ymm6,[rcx] | |
22 | vaesenclast ymm2,ymm6,ymm4 | |
23 | vaesenclast ymm7,ymm6,YMMWORD PTR [rcx] | |
24 | vaesenclast ymm7,ymm6,[rcx] | |
25 | vaesdec ymm2,ymm6,ymm4 | |
26 | vaesdec ymm7,ymm6,YMMWORD PTR [rcx] | |
27 | vaesdec ymm7,ymm6,[rcx] | |
28 | vaesdeclast ymm2,ymm6,ymm4 | |
29 | vaesdeclast ymm7,ymm6,YMMWORD PTR [rcx] | |
30 | vaesdeclast ymm7,ymm6,[rcx] |