[meta] Small fixes in the settings generation;

This commit is contained in:
Benjamin Bouvier
2019-04-16 15:20:18 +02:00
parent 390cfb37da
commit f335c5c56c
4 changed files with 10 additions and 18 deletions

View File

@@ -41,7 +41,7 @@ fn define_settings(shared: &SettingGroup) -> SettingGroup {
setting.add_bool(
"enable_e",
"Enable the 'RV32E' instruction set with only 16 registers",
true,
false,
);
let shared_enable_atomics = shared.get_bool("enable_atomics");

View File

@@ -65,6 +65,8 @@ fn define_settings(shared: &SettingGroup) -> SettingGroup {
predicate!(!allones_funcaddrs && !is_pic),
);
// Presets corresponding to x86 CPUs.
settings.add_preset("baseline", preset!());
let nehalem = settings.add_preset(
"nehalem",