summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/CodeGen/RegAllocBasic.cpp
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2014-07-21 22:37:33 +0000
committerpfg <pfg@FreeBSD.org>2014-07-21 22:37:33 +0000
commit832f66713038de9143d814e4a87f26dd2032ee6d (patch)
tree79204e414214fb1bcafa2e7fd142ab3dffc5b7a9 /contrib/llvm/lib/CodeGen/RegAllocBasic.cpp
parentcd7f6c035288b834a106285e18dcdf78de463854 (diff)
downloadFreeBSD-src-832f66713038de9143d814e4a87f26dd2032ee6d.zip
FreeBSD-src-832f66713038de9143d814e4a87f26dd2032ee6d.tar.gz
MFC r268642:
libc/gen: small updates to code originating at OpenBSD arc4random.c - CVS rev. 1.22 Change arc4random_uniform() to calculate ``2**32 % upper_bound'' as ``-upper_bound % upper_bound''. Simplifies the code and makes it the same on both ILP32 and LP64 architectures, and also slightly faster on LP64 architectures by using a 32-bit remainder instead of a 64-bit remainder. - CVS rev. 1.23 Spacing readpassphrase.c -CVS rev. v 1.24 most obvious unsigned char casts for ctype Obtained from: OpenBSD
Diffstat (limited to 'contrib/llvm/lib/CodeGen/RegAllocBasic.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud