diff options
author | Karel Kočí <cynerd@email.cz> | 2017-12-30 18:48:29 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-12-30 18:48:29 +0100 |
commit | 44678108e4c14773b3341e4fbc8042c7cabcf02b (patch) | |
tree | 62cd814cdc15490f48f3a7dd3a853b6e2aaca62b /qtmips_gui/mainwindow.cpp | |
parent | 8ac1f7efc726b87f7f1fa39d7e07d27d063bac93 (diff) | |
download | qtmips-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/mainwindow.cpp')
-rw-r--r-- | qtmips_gui/mainwindow.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qtmips_gui/mainwindow.cpp b/qtmips_gui/mainwindow.cpp index 9e1902a..9384890 100644 --- a/qtmips_gui/mainwindow.cpp +++ b/qtmips_gui/mainwindow.cpp @@ -63,8 +63,7 @@ void MainWindow::create_core(machine::MachineConfig *config) { // Create machine view corescene = new CoreViewScene(coreview, machine); - //machine->set_speed(1000); // Set default speed to 1 sec - machine->set_speed(0); + machine->set_speed(1000); // Set default speed to 1 sec // Connect machine signals and slots connect(ui->actionRun, SIGNAL(triggered(bool)), machine, SLOT(play())); |