Skip to content
Snippets Groups Projects
Commit 7627cf1d authored by Jamie Wright's avatar Jamie Wright
Browse files

surely this time

parent 77d16370
No related branches found
No related tags found
No related merge requests found
...@@ -23,38 +23,39 @@ foo PROC ; COMDAT ...@@ -23,38 +23,39 @@ foo PROC ; COMDAT
00000 0f b6 05 00 00 00000 0f b6 05 00 00
00 00 movzx eax, BYTE PTR N 00 00 movzx eax, BYTE PTR N
00007 3b c8 cmp ecx, eax 00007 3b c8 cmp ecx, eax
00009 73 27 jae SHORT $LN2@foo 00009 73 2a jae SHORT $LN2@foo
; 6 : _mm_lfence(); ; 6 : _mm_lfence();
0000b 0f ae e8 lfence 0000b 0f ae e8 lfence
0000e 0f ae e8 lfence
; 7 : return array2[array1[i]*S]; ; 7 : return array2[array1[i]*S];
0000e 8b c1 mov eax, ecx 00011 8b c1 mov eax, ecx
00010 48 8d 15 00 00 00013 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:__ImageBase 00 00 lea rdx, OFFSET FLAT:__ImageBase
00017 0f b6 8c 10 00 0001a 0f b6 8c 10 00
00 00 00 movzx ecx, BYTE PTR array1[rax+rdx] 00 00 00 movzx ecx, BYTE PTR array1[rax+rdx]
0001f 0f b6 05 00 00 00022 0f b6 05 00 00
00 00 movzx eax, BYTE PTR S 00 00 movzx eax, BYTE PTR S
00026 0f af c8 imul ecx, eax 00029 0f af c8 imul ecx, eax
00029 0f b6 84 11 00 0002c 0f b6 84 11 00
00 00 00 movzx eax, BYTE PTR array2[rcx+rdx] 00 00 00 movzx eax, BYTE PTR array2[rcx+rdx]
; 10 : } ; 10 : }
00031 c3 ret 0 00034 c3 ret 0
$LN2@foo: $LN2@foo:
; 8 : } ; 8 : }
; 9 : return 0; ; 9 : return 0;
00032 32 c0 xor al, al 00035 32 c0 xor al, al
; 10 : } ; 10 : }
00034 c3 ret 0 00037 c3 ret 0
foo ENDP foo ENDP
_TEXT ENDS _TEXT ENDS
END END
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment