Re:32-bit x86 Position Independent Code – It's That Bad
by icebraining on Thursday April 16, 2015 @03:58AM
(#9386501)
It's because in theory, it's faster to copy the values to registers than to have to push them all to the stack and then have the callee pop them. At least that was the thought behind Microsoft's __fastcall, which was their original version of a calling convention using registers, though in that case it seems the benchmarks aren't conclusively in support of the theory.
[ Parent
| on HN ]
There are no comments on this comment yet.