Closed GoogleCodeExporter closed 8 years ago
Switching to zero saves a byte per function call
saves 1 byte per call
Was
00000074: A1 00 00 00 00 mov eax,dword ptr [_cpu_info_]
00000079: 83 F8 01 cmp eax,1
0000007C: 75 08 jne 00000086
0000007E: E8 00 00 00 00 call _InitCpuFlags
00000086: A8 40 test al,40h
00000088: 74 21 je 000000AB
Now
00000074: A1 00 00 00 00 mov eax,dword ptr [_cpu_info_]
00000079: 85 C0 test eax,eax
0000007B: 75 05 jne 00000082
0000007D: E8 00 00 00 00 call _InitCpuFlags
00000082: A8 40 test al,40h
00000084: 75 0C jne 00000092
Original comment by fbarch...@chromium.org
on 24 Oct 2015 at 12:16
Original issue reported on code.google.com by
fbarch...@chromium.org
on 22 Oct 2015 at 9:39