mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 19:00:17 +02:00
Software fallback for RDRAND/RDSEED
This commit is contained in:
1 parent
9bbdb35711
commit
c91c6efc87
12 files changed
+178
-36
No files matched your search
@@ -5125,7 +5125,7 @@ void OpDispatchBuilder::CRC32(OpcodeArgs) {
|
||||
}
|
||||
|
||||
void OpDispatchBuilder::RDRANDOp(OpcodeArgs, bool Reseed) {
|
||||
if (!CTX->HostFeatures.SupportsRAND) {
|
||||
if (!CTX->HostFeatures.SupportsRAND && !CTX->SoftwareRNGEnabled()) {
|
||||
UnimplementedOp(Op);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user