A32: Add define_unpredictable_behaviour option

This commit is contained in:
MerryMage 2018-08-25 23:00:04 +01:00
parent b0abaa8312
commit a12854857b
9 changed files with 31 additions and 16 deletions

View file

@ -82,6 +82,11 @@ struct UserConfig {
// Coprocessors
std::array<std::shared_ptr<Coprocessor>, 16> coprocessors;
/// 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;
};
} // namespace A32