Commit | Line | Data |
---|---|---|
381d071f L |
1 | # Streaming SIMD extensions 4.2 Instructions |
2 | ||
3 | .text | |
4 | foo: | |
381d071f L |
5 | crc32 %cl,%ebx |
6 | crc32 %cl,%rbx | |
7 | crc32 %cx,%ebx | |
8 | crc32 %ecx,%ebx | |
9 | crc32 %rcx,%rbx | |
10 | crc32b (%rcx),%ebx | |
11 | crc32w (%rcx),%ebx | |
12 | crc32l (%rcx),%ebx | |
13 | crc32q (%rcx),%rbx | |
14 | crc32b %cl,%ebx | |
15 | crc32b %cl,%rbx | |
16 | crc32w %cx,%ebx | |
17 | crc32l %ecx,%ebx | |
18 | crc32q %rcx,%rbx | |
19 | pcmpgtq (%rcx),%xmm0 | |
20 | pcmpgtq %xmm1,%xmm0 | |
21 | pcmpestri $0x0,(%rcx),%xmm0 | |
22 | pcmpestri $0x0,%xmm1,%xmm0 | |
23 | pcmpestrm $0x1,(%rcx),%xmm0 | |
24 | pcmpestrm $0x1,%xmm1,%xmm0 | |
25 | pcmpistri $0x2,(%rcx),%xmm0 | |
26 | pcmpistri $0x2,%xmm1,%xmm0 | |
27 | pcmpistrm $0x3,(%rcx),%xmm0 | |
28 | pcmpistrm $0x3,%xmm1,%xmm0 | |
29 | popcnt (%rcx),%bx | |
30 | popcnt (%rcx),%ebx | |
31 | popcnt (%rcx),%rbx | |
32 | popcntw (%rcx),%bx | |
33 | popcntl (%rcx),%ebx | |
34 | popcntq (%rcx),%rbx | |
35 | popcnt %cx,%bx | |
36 | popcnt %ecx,%ebx | |
37 | popcnt %rcx,%rbx | |
38 | popcntw %cx,%bx | |
39 | popcntl %ecx,%ebx | |
40 | popcntq %rcx,%rbx | |
41 | ||
c3ad16c0 L |
42 | .intel_syntax noprefix |
43 | crc32 ebx,cl | |
44 | crc32 rbx,cl | |
45 | crc32 ebx,cx | |
46 | crc32 ebx,ecx | |
47 | crc32 rbx,rcx | |
48 | crc32 ebx,BYTE PTR [rcx] | |
49 | crc32 ebx,WORD PTR [rcx] | |
50 | crc32 ebx,DWORD PTR [rcx] | |
51 | crc32 rbx,QWORD PTR [rcx] | |
52 | crc32 ebx,cl | |
53 | crc32 rbx,cl | |
54 | crc32 ebx,cx | |
55 | crc32 ebx,ecx | |
56 | crc32 rbx,rcx | |
57 | pcmpgtq xmm0,XMMWORD PTR [rcx] | |
58 | pcmpgtq xmm0,xmm1 | |
59 | pcmpestri xmm0,XMMWORD PTR [rcx],0x0 | |
60 | pcmpestri xmm0,xmm1,0x0 | |
61 | pcmpestrm xmm0,XMMWORD PTR [rcx],0x1 | |
62 | pcmpestrm xmm0,xmm1,0x1 | |
63 | pcmpistri xmm0,XMMWORD PTR [rcx],0x2 | |
64 | pcmpistri xmm0,xmm1,0x2 | |
65 | pcmpistrm xmm0,XMMWORD PTR [rcx],0x3 | |
66 | pcmpistrm xmm0,xmm1,0x3 | |
67 | popcnt bx,WORD PTR [rcx] | |
68 | popcnt ebx,DWORD PTR [rcx] | |
69 | popcnt rbx,QWORD PTR [rcx] | |
70 | popcnt bx,WORD PTR [rcx] | |
71 | popcnt ebx,DWORD PTR [rcx] | |
72 | popcnt rbx,QWORD PTR [rcx] | |
73 | popcnt bx,cx | |
74 | popcnt ebx,ecx | |
75 | popcnt rbx,rcx | |
76 | popcnt bx,cx | |
77 | popcnt ebx,ecx | |
78 | popcnt rbx,rcx | |
79 | ||
381d071f | 80 | .p2align 4,0 |