Index> Main > epiloguedef: also embracing pop ebp?
Author
Thread
flat_user
Joined: 01 Jun 2010
Posts: 13
flat_user16 Jun 2010, 23:22
As for the epiloguedef-macro, wouldn't the following be faster some cycles in the specific cases (when there are no locals)?
e.g. when calling such a stub in a loop with 20 iterations it was about 15 cycles faster to not do the unnecessary esp = ebp with leave (measured randomly on some lame ass cpu with rdtsc; I'm unfamiliar with low-leveling and hardware)
Quote:
if localbytes
leave
else if parmbytes
pop ebp
end if
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum