Per
https://software.intel.com/en-us/blogs/2012/11/17/the-difference-between-rdrand-and-rdseed
, RDRAND is a PRNG seeded from the same source as RDSEED. The source is
more suitable as PRNG seed material, so prefer it when the RDSEED intrinsic
is available (indicated in CPU feature bits).
Details
Details
- Reviewers
delphij markm imp jhb kib jmg - Group Reviewers
O3: Kernel Random Numbers Generator (Owns No Changed Paths) - Commits
- rS347239: random: x86 driver: Prefer RDSEED over RDRAND when available
Bhyve blocks RDSEED feature bit, unfortunately. So I have not tested RDSEED
functionality of this patch yet.
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 24148 Build 23000: arc lint + arc unit
Event Timeline
Comment Actions
- Drop ifndef wat
- Drop bangbang "operator" -- bool implicitly coerces on assignment already