Commit | Line | Data |
---|---|---|
ff1982d5 IT |
1 | # Check VPCLMULQDQ instructions |
2 | ||
3 | .allow_index_reg | |
4 | .text | |
5 | _start: | |
6 | vpclmulqdq $0xab, %ymm4, %ymm5, %ymm6 | |
7 | vpclmulqdq $123, -123456(%esp,%esi,8), %ymm5, %ymm6 | |
8 | vpclmulqdq $123, 4064(%edx), %ymm5, %ymm6 | |
9 | ||
cd546e7b JB |
10 | vpclmulhqhqdq %ymm1, %ymm2, %ymm3 |
11 | vpclmulhqlqdq %ymm2, %ymm3, %ymm4 | |
12 | vpclmullqhqdq %ymm3, %ymm4, %ymm5 | |
13 | vpclmullqlqdq %ymm4, %ymm5, %ymm6 | |
14 | ||
ff1982d5 IT |
15 | .intel_syntax noprefix |
16 | vpclmulqdq ymm6, ymm5, ymm4, 0xab | |
17 | vpclmulqdq ymm6, ymm5, YMMWORD PTR [esp+esi*8-123456], 123 | |
18 | vpclmulqdq ymm6, ymm5, YMMWORD PTR [edx+4064], 123 |