aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/newdialog.cpp
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-12-30 18:48:29 +0100
committerKarel Kočí <cynerd@email.cz>2017-12-30 18:48:29 +0100
commit44678108e4c14773b3341e4fbc8042c7cabcf02b (patch)
tree62cd814cdc15490f48f3a7dd3a853b6e2aaca62b /qtmips_gui/newdialog.cpp
parent8ac1f7efc726b87f7f1fa39d7e07d27d063bac93 (diff)
downloadqtmips-44678108e4c14773b3341e4fbc8042c7cabcf02b.tar.gz
qtmips-44678108e4c14773b3341e4fbc8042c7cabcf02b.tar.bz2
qtmips-44678108e4c14773b3341e4fbc8042c7cabcf02b.zip
Drop jump predictions
Although there are branch likely instruction the whole mips instruction set is designed around static jump predictions. The usage of delay slot ensures that we don't have to handle jump predictions on cpu it self at all. Adding it on top of that makes little to no sense although that was the original plan.
Diffstat (limited to 'qtmips_gui/newdialog.cpp')
-rw-r--r--qtmips_gui/newdialog.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/qtmips_gui/newdialog.cpp b/qtmips_gui/newdialog.cpp
index 9d0e1ad..062eb2d 100644
--- a/qtmips_gui/newdialog.cpp
+++ b/qtmips_gui/newdialog.cpp
@@ -18,10 +18,6 @@ NewDialog::NewDialog(QWidget *parent, QSettings *settings) : QDialog(parent) {
// Signals on Core tab
CUSTOM_PRESET(ui->pipelined);
CUSTOM_PRESET(ui->hazard);
- CUSTOM_PRESET(ui->flush_jump);
- CUSTOM_PRESET(ui->prediction);
- CUSTOM_PRESET(ui->prediction_static);
- CUSTOM_PRESET(ui->prediction_one_dynamic);
// Signals on Memory tab
CUSTOM_PRESET(ui->mem_protec_write);
CUSTOM_PRESET(ui->mem_protec_exec);
@@ -83,9 +79,6 @@ void NewDialog::preset(bool value) {
// Core settings
ui->pipelined->setChecked(pip);
ui->hazard->setChecked(pip);
- ui->flush_jump->setChecked(pip);
- ui->prediction->setChecked(pip);
- ui->prediction_one_dynamic->setChecked(pip);
// Memory settings
ui->mem_protec_write->setChecked(true);
ui->mem_protec_exec->setChecked(true);
@@ -116,10 +109,6 @@ void NewDialog::load_settings() {
// Core tab
LOAD_BUTTON(pipelined, false);
LOAD_BUTTON(hazard, false);
- LOAD_BUTTON(flush_jump, false);
- LOAD_BUTTON(prediction, false);
- LOAD_BUTTON(prediction_static, true);
- LOAD_BUTTON(prediction_one_dynamic, false);
// Memory tab
LOAD_BUTTON(mem_protec_write, true);
LOAD_BUTTON(mem_protec_exec, true);
@@ -137,10 +126,6 @@ void NewDialog::store_settings() {
// Core tab
STORE_BUTTON(pipelined);
STORE_BUTTON(hazard);
- STORE_BUTTON(flush_jump);
- STORE_BUTTON(prediction);
- STORE_BUTTON(prediction_static);
- STORE_BUTTON(prediction_one_dynamic);
// Memory tab
STORE_BUTTON(mem_protec_write);
STORE_BUTTON(mem_protec_exec);