Commit | Line | Data |
---|---|---|
050dfa73 MM |
1 | #AMDFAM10 New Instructions |
2 | ||
3 | .text | |
4 | foo: | |
5 | lzcnt (%rcx),%rbx | |
6 | lzcnt (%rcx),%ebx | |
7 | lzcnt (%rcx),%bx | |
8 | lzcnt %rcx,%rbx | |
9 | lzcnt %ecx,%ebx | |
10 | lzcnt %cx,%bx | |
11 | popcnt (%rcx),%rbx | |
12 | popcnt (%rcx),%ebx | |
13 | popcnt (%rcx),%bx | |
14 | popcnt %rcx,%rbx | |
15 | popcnt %ecx,%ebx | |
16 | popcnt %cx,%bx | |
17 | extrq %xmm2,%xmm1 | |
18 | extrq $4,$2,%xmm1 | |
19 | insertq %xmm2,%xmm1 | |
20 | insertq $4,$2,%xmm2,%xmm1 | |
21 | movntsd %xmm1,(%rcx) | |
22 | movntss %xmm1,(%rcx) | |
46e74244 MM |
23 | |
24 | # Force a good alignment. | |
25 | .p2align 4,0 |