A64/translate: Allow for unpredictable behaviour to be defined

This commit is contained in:
MerryMage 2018-08-16 09:59:06 +01:00
parent d1d6f4feb5
commit cd40e4dae0
5 changed files with 22 additions and 6 deletions

View file

@ -158,6 +158,11 @@ struct UserConfig {
/// This is only used if page_table is not nullptr.
bool silently_mirror_page_table = true;
/// This option relates to translation. Generally when we run into an unpredictable
/// instruction the ExceptionRaised callback is called. If this is true, we define
/// definite behaviour for some unpredictable instructions.
bool define_unpredictable_behaviour = false;
// The below options relate to accuracy of floating-point emulation.
/// Determines how accurate NaN handling is.