summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/id.h2
-rw-r--r--inc/stage.h5
2 files changed, 1 insertions, 6 deletions
diff --git a/inc/id.h b/inc/id.h
index 6178ad2..fd8c874 100644
--- a/inc/id.h
+++ b/inc/id.h
@@ -67,7 +67,7 @@ class ID : public Stage
void get_instr_fields(signed int &s1, signed int &s2, signed int &s3, Mnemonic &m, Type &t);
void decode_R_type(signed int &s1, signed int &s2, signed int &s3);
void decode_I_type(signed int &s1, signed int &s2, signed int &s3, Mnemonic &m);
- void decode_J_type(signed int &s1, signed int &s2);
+ void decode_J_type(signed int &s1, signed int &s2, signed int &s3);
/**
* Helper for `get_instr_fields`.
* Given a raw instruction, returns the mnemonic and type.
diff --git a/inc/stage.h b/inc/stage.h
index 20f0191..51ab667 100644
--- a/inc/stage.h
+++ b/inc/stage.h
@@ -55,11 +55,6 @@ class Stage
void set_condition(CC c, bool v);
/**
- * Sets the value of the PC register.
- */
- void set_pc(unsigned int pc);
-
- /**
* Squashes the pipeline.
*/
void squash();