mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2025-12-28 18:25:12 +01:00
a64/config: Allow NaN emulation accuracy to be set
This commit is contained in:
parent
a3df46a75a
commit
7c193485e1
3 changed files with 18 additions and 1 deletions
|
|
@ -126,6 +126,18 @@ struct UserConfig {
|
|||
/// This is only used if page_table is not nullptr.
|
||||
bool silently_mirror_page_table = true;
|
||||
|
||||
// The below options relate to accuracy of floating-point emulation.
|
||||
|
||||
/// Determines how accurate NaN handling is.
|
||||
enum class NaNAccuracy {
|
||||
/// Results of operations with NaNs will exactly match hardware.
|
||||
Accurate,
|
||||
/// Behave as if FPCR.DN is always set.
|
||||
AlwaysForceDefaultNaN,
|
||||
/// No special handling of NaN, other than setting default NaN when FPCR.DN is set.
|
||||
NoChecks,
|
||||
} floating_point_nan_accuracy = NaNAccuracy::Accurate;
|
||||
|
||||
// Determines whether AddTicks and GetTicksRemaining are called.
|
||||
// If false, execution will continue until soon after Jit::HaltExecution is called.
|
||||
// bool enable_ticks = true; // TODO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue