diff options
author | bd <bdunahu@operationnull.com> | 2025-04-27 15:20:37 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-27 15:20:37 -0400 |
commit | 64efd868deec8921eac16b181f3a2e6d29f90b99 (patch) | |
tree | 096c73c3e74a2afedabd85bd62dbb6720a365ed5 /src/id.cc | |
parent | 7aaa516c0de444c956dff88342a57e9313a19e34 (diff) | |
parent | 5653b2a033e7a4173d2f178b5ce52384666d3d7b (diff) |
Merge remote-tracking branch 'origin/master' into vector_ext
Diffstat (limited to 'src/id.cc')
-rw-r--r-- | src/id.cc | 16 |
1 files changed, 3 insertions, 13 deletions
@@ -65,7 +65,7 @@ void ID::write_vec_guard(signed int v, std::array<signed int, V_R_LIMIT> &vrs){ // keep track in the instrDTO for displaying to user and writeback // keep track in checked_out so we can still access this information! this->checked_out.push_back(v); - this->curr_instr->checked_out = v; + this->curr_instr->checked_out = v; } vrs = this->dereference_register<std::array<signed int, V_R_LIMIT>>(v); } @@ -131,7 +131,7 @@ Response ID::set_vlen(){ this->curr_instr->slot_A = V_R_LIMIT; } else { this->curr_instr->slot_A = vlen_reg; - } + } } return r; } @@ -223,7 +223,7 @@ void ID::decode_I_type(signed int &s1) // vector value to be stored r2 = this->read_vec_guard(s2,this->curr_instr->operands.load_store_vector.vector_register); r3 = this->set_vlen(); - + this->status = (r1 == OK && r2 == OK && r3 == OK) ? OK : STALLED; return; case LOADV: @@ -306,13 +306,3 @@ void ID::decode_J_type(signed int &s1) } } - -std::vector<int> ID::stage_info() -{ - std::vector<int> info; - if (this->curr_instr) { - info.push_back(this->curr_instr->is_squashed); - info.push_back(this->curr_instr->slot_A); - } - return info; -} |