diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-12-16 19:43:55 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-12-16 19:43:55 -0800 |
commit | 0cc11cca918820e2e54b9b13497e54536fd4a6e5 (patch) | |
tree | a5bcbc1750e723647ec489fa299ea1dd3c002cc7 /ChangeLog | |
parent | bdde09352bed633ac31ca898d4dc3141ac1153d2 (diff) | |
download | txr-0cc11cca918820e2e54b9b13497e54536fd4a6e5.tar.gz txr-0cc11cca918820e2e54b9b13497e54536fd4a6e5.tar.bz2 txr-0cc11cca918820e2e54b9b13497e54536fd4a6e5.zip |
* rand.c (rstate): New inline function.
(rand32): Use inline function instead of macro.
I compared gcc -O2 output on Intel: no difference.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2014-12-16 Kaz Kylheku <kaz@kylheku.com> + + * rand.c (rstate): New inline function. + (rand32): Use inline function instead of macro. + I compared gcc -O2 output on Intel: no difference. + 2014-12-13 Kaz Kylheku <kaz@kylheku.com> Factor out some compiling commands into macros. |