Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libc/gen

Module Name:    src
Committed By:   dsl
Date:           Sat Aug 18 15:55:07 UTC 2012

Modified Files:
        src/lib/libc/gen: arc4random.c

Log Message:
cache rs.i and rs.j in arc4random_buf() since the compiler can't be
  told that buf[] dosn't alias them.
Reduces the number of instructions inside the loop.
All the other functions are ok.

To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/lib/libc/gen/arc4random.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index