]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Improvements from Spyros Blanas to the MSVC optimisations of r6469:
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Tue, 6 Dec 2005 23:18:27 +0000 (23:18 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Tue, 6 Dec 2005 23:18:27 +0000 (23:18 +0000)
commitd8b7de543546707758521413606cd8ad029006a9
treeca91f37a779e4e33269f4d470ec92dd4cdf31336
parent67b68bf1450b90d5fea3556e179ac9bc91bc6240
Improvements from Spyros Blanas to the MSVC optimisations of r6469:
don't do a function call for each divmod, and don't rely on details of
the calling convention.
(This didn't actually make any measurable difference to runtime in any
of my tests, but we may as well keep it as it's neater.)
Also document some general caveats of the divmod macro.

[originally from svn r6475]
[r6469 == d72e4b718ca43152ffdede945a1ffbc5a851e2b0]
sshbn.c