- Remove asm-optimized versions of RtlRandom and RtlUniform -- there is *no* reason...
authorStefan Ginsberg <stefanginsberg@gmail.com>
Tue, 4 Aug 2009 11:22:50 +0000 (11:22 +0000)
committerStefan Ginsberg <stefanginsberg@gmail.com>
Tue, 4 Aug 2009 11:22:50 +0000 (11:22 +0000)
commita1c98e143ea57856cd608bab290eb895d87701f2
tree18d023f6bd0669319994391d85df2cc992b1fbf7
parentd2ab6702353cfb9195b9e768e83c67f869f98f62
- Remove asm-optimized versions of RtlRandom and RtlUniform -- there is *no* reason to use hand-optimized assembly for simple routines like these -- let the compiler do its job, please. Also, we compiled random.c *and* random_asm.S, meaning we duplicated the functions -- the compiler didn't detect this and silently used the C versions.
- Don't forward RtlRandomEx to RtlRandom in ntdll -- RtlRandomEx should use a different algorithm (but is simply a copy of RtlRandom right now).
- Revert RtlUniform back to the "slow" version -- let the compiler do its job instead of obfuscating code for a miniscule speed gain.

svn path=/trunk/; revision=42378
reactos/dll/ntdll/def/ntdll_arm.def
reactos/dll/ntdll/def/ntdll_i386.def
reactos/lib/rtl/i386/random_asm.S [deleted file]
reactos/lib/rtl/random.c
reactos/lib/rtl/rtl.rbuild