Commit | Line | Data |
---|---|---|
20592a94 L |
1 | # Check illegal 64bit crc32 in SSE4.2 |
2 | ||
3 | .text | |
4 | foo: | |
5 | ||
6 | crc32b (%rsi), %al | |
7 | crc32w (%rsi), %ax | |
8 | crc32 (%rsi), %al | |
9 | crc32 (%rsi), %ax | |
10 | crc32 (%rsi), %eax | |
11 | crc32 (%rsi), %rax | |
12 | crc32 %al, %al | |
13 | crc32b %al, %al | |
14 | crc32 %ax, %ax | |
15 | crc32w %ax, %ax | |
16 | crc32 %rax, %eax | |
17 | crc32 %eax, %rax | |
18 | crc32l %rax, %eax | |
19 | crc32l %eax, %rax | |
20 | crc32q %eax, %rax | |
21 | crc32q %rax, %eax | |
22 | ||
23 | .intel_syntax noprefix | |
24 | crc32 al,byte ptr [rsi] | |
25 | crc32 ax, word ptr [rsi] | |
26 | crc32 rax,word ptr [rsi] | |
27 | crc32 rax,dword ptr [rsi] | |
28 | crc32 al,[rsi] | |
29 | crc32 ax,[rsi] | |
30 | crc32 eax,[rsi] | |
31 | crc32 rax,[rsi] | |
32 | crc32 al,al | |
33 | crc32 ax, ax | |
34 | crc32 rax,eax |