Home | History | Annotate | Download | only in i386
      1 # Check crc32 in SSE4.2
      2 
      3 	.text
      4 foo:
      5 
      6 crc32b (%esi), %eax
      7 crc32w (%esi), %eax
      8 crc32l (%esi), %eax
      9 crc32  %al, %eax
     10 crc32b  %al, %eax
     11 crc32  %ax, %eax
     12 crc32w  %ax, %eax
     13 crc32  %eax, %eax
     14 crc32l  %eax, %eax
     15 
     16 .intel_syntax noprefix
     17 crc32  eax,byte ptr [esi]
     18 crc32  eax, word ptr [esi]
     19 crc32  eax,dword ptr [esi]
     20 crc32  eax,al
     21 crc32  eax, ax
     22 crc32  eax,eax
     23 
     24 .p2align 4,0
     25