1 # Streaming SIMD extensions 4.2 Instructions 2 3 .text 4 foo: 5 crc32 %cl,%ebx 6 crc32 %cx,%ebx 7 crc32 %ecx,%ebx 8 crc32b (%ecx),%ebx 9 crc32w (%ecx),%ebx 10 crc32l (%ecx),%ebx 11 crc32b %cl,%ebx 12 crc32w %cx,%ebx 13 crc32l %ecx,%ebx 14 pcmpgtq (%ecx),%xmm0 15 pcmpgtq %xmm1,%xmm0 16 pcmpestri $0x0,(%ecx),%xmm0 17 pcmpestri $0x0,%xmm1,%xmm0 18 pcmpestrm $0x1,(%ecx),%xmm0 19 pcmpestrm $0x1,%xmm1,%xmm0 20 pcmpistri $0x2,(%ecx),%xmm0 21 pcmpistri $0x2,%xmm1,%xmm0 22 pcmpistrm $0x3,(%ecx),%xmm0 23 pcmpistrm $0x3,%xmm1,%xmm0 24 popcnt (%ecx),%bx 25 popcnt (%ecx),%ebx 26 popcntw (%ecx),%bx 27 popcntl (%ecx),%ebx 28 popcnt %cx,%bx 29 popcnt %ecx,%ebx 30 popcntw %cx,%bx 31 popcntl %ecx,%ebx 32 33 34 .intel_syntax noprefix 35 crc32 ebx,cl 36 crc32 ebx,cx 37 crc32 ebx,ecx 38 crc32 ebx,BYTE PTR [ecx] 39 crc32 ebx,WORD PTR [ecx] 40 crc32 ebx,DWORD PTR [ecx] 41 crc32 ebx,cl 42 crc32 ebx,cx 43 crc32 ebx,ecx 44 pcmpgtq xmm0,XMMWORD PTR [ecx] 45 pcmpgtq xmm0,xmm1 46 pcmpestri xmm0,XMMWORD PTR [ecx],0x0 47 pcmpestri xmm0,xmm1,0x0 48 pcmpestrm xmm0,XMMWORD PTR [ecx],0x1 49 pcmpestrm xmm0,xmm1,0x1 50 pcmpistri xmm0,XMMWORD PTR [ecx],0x2 51 pcmpistri xmm0,xmm1,0x2 52 pcmpistrm xmm0,XMMWORD PTR [ecx],0x3 53 pcmpistrm xmm0,xmm1,0x3 54 popcnt bx,WORD PTR [ecx] 55 popcnt ebx,DWORD PTR [ecx] 56 popcnt bx,WORD PTR [ecx] 57 popcnt ebx,DWORD PTR [ecx] 58 popcnt bx,cx 59 popcnt ebx,ecx 60 popcnt bx,cx 61 popcnt ebx,ecx 62 63 .p2align 4,0 64