aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/machineconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_machine/machineconfig.h')
-rw-r--r--qtmips_machine/machineconfig.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/qtmips_machine/machineconfig.h b/qtmips_machine/machineconfig.h
index 8e58d12..d872686 100644
--- a/qtmips_machine/machineconfig.h
+++ b/qtmips_machine/machineconfig.h
@@ -20,8 +20,8 @@ public:
// In default disabled.
void set_pipelined(bool);
// Configure if we want to do jump prediction
- // In default disabled. When enabled it also automatically enables pipelining
- void set_jump_prediction(bool);
+ // In default enabled. When disabled it also automatically disables pipelining.
+ void set_delay_slot(bool);
// Configure cache type
// In default CCT_NONE is used.
void set_cache(enum CacheType);
@@ -29,12 +29,12 @@ public:
void set_elf(QString path);
bool pipelined() const;
- bool jump_prediction() const;
+ bool delay_slot() const;
enum CacheType cache() const;
QString elf() const;
private:
- bool pipeline, jumppred;
+ bool pipeline, delayslot;
enum CacheType cache_type;
QString elf_path;
};