1#AMDFAM10 New Instructions 2 3 .text 4foo: 5 lzcnt (%ecx),%ebx 6 lzcnt (%ecx),%bx 7 lzcnt %ecx,%ebx 8 lzcnt %cx,%bx 9 popcnt (%ecx),%ebx 10 popcnt (%ecx),%bx 11 popcnt %ecx,%ebx 12 popcnt %cx,%bx 13 extrq %xmm2,%xmm1 14 extrq $4,$2,%xmm1 15 insertq %xmm2,%xmm1 16 insertq $4,$2,%xmm2,%xmm1 17 movntsd %xmm1,(%ecx) 18 movntss %xmm1,(%ecx) 19 20 .intel_syntax noprefix 21 lzcnt ebx,[ecx] 22 lzcnt bx,[ecx] 23 lzcnt ebx,ecx 24 lzcnt bx,cx 25 popcnt ebx,[ecx] 26 popcnt bx,[ecx] 27 popcnt ebx,ecx 28 popcnt bx,cx 29 extrq xmm1,xmm2 30 extrq xmm1,2,4 31 insertq xmm1,xmm2 32 insertq xmm1,xmm2,2,4 33 movntsd [ecx],xmm1 34 movntss [ecx],xmm1 35 36 # Force a good alignment. 37 .p2align 4,0 38