Last active
October 1, 2022 21:06
-
-
Save israellot/b6f3031f4503801e4512450709ebe0ee to your computer and use it in GitHub Desktop.
Pro vs Senior asm output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//while (z < limit) | |
// { | |
// sum0 += (uint)(ptr[z + 0] + ptr[z + 4] + ptr[z + 8] + ptr[z + 12] | |
//PRO | |
G_M000_IG06: | |
cmp r11d, ecx | |
jae G_M000_IG17 | |
mov ebx, r11d | |
movzx rbx, byte ptr [rdx+rbx] | |
add eax, ebx | |
lea ebx, [r11+04H] | |
cmp ebx, ecx | |
jae G_M000_IG17 | |
mov ebx, ebx | |
movzx rbx, byte ptr [rdx+rbx] | |
add eax, ebx | |
lea ebx, [r11+08H] | |
cmp ebx, ecx | |
jae G_M000_IG17 | |
mov ebx, ebx | |
movzx rbx, byte ptr [rdx+rbx] | |
add eax, ebx | |
lea ebx, [r11+0CH] | |
//SENIOR | |
G_M000_IG06: | |
mov ebx, r11d | |
movzx rbx, byte ptr [rdx+rbx] | |
add eax, ebx | |
lea ebx, [r11+04H] | |
movzx rbx, byte ptr [rdx+rbx] | |
add eax, ebx | |
lea ebx, [r11+08H] | |
movzx rbx, byte ptr [rdx+rbx] | |
add eax, ebx | |
lea ebx, [r11+0CH] | |
movzx rbx, byte ptr [rdx+rbx] | |
add eax, ebx | |
lea ebx, [r11+10H] | |
movzx rbx, byte ptr [rdx+rbx] | |
add eax, ebx | |
lea ebx, [r11+14H] | |
movzx rbx, byte ptr [rdx+rbx] | |
add eax, ebx | |
lea ebx, [r11+18H] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment