Commit | Line | Data |
---|---|---|
20592a94 L |
1 | # Check illegal crc32 in SSE4.2 |
2 | ||
3 | .text | |
4 | foo: | |
5 | ||
6 | crc32b (%esi), %al | |
7 | crc32w (%esi), %ax | |
8 | crc32 (%esi), %al | |
9 | crc32 (%esi), %ax | |
10 | crc32 (%esi), %eax | |
11 | crc32 %al, %al | |
12 | crc32b %al, %al | |
13 | crc32 %ax, %ax | |
14 | crc32w %ax, %ax | |
15 | ||
16 | .intel_syntax noprefix | |
17 | crc32 al,byte ptr [esi] | |
18 | crc32 ax, word ptr [esi] | |
19 | crc32 al, [esi] | |
20 | crc32 ax, [esi] | |
21 | crc32 eax, [esi] | |
22 | crc32 al,al | |
23 | crc32 ax, ax |