diff options
author | bd <bdunahu@operationnull.com> | 2025-05-11 13:08:16 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-05-11 13:08:16 -0400 |
commit | 79a68cabb033530871a1dab259149480584b2586 (patch) | |
tree | 0d59680dba627eec789984ef265fc20f8e6b88c8 /src/ex.cc | |
parent | 5326509d842c038a2d4f7dcf11fcadf960e437dd (diff) |
Add I_VECT field type for SRDL, SRDS, with two vector reg 1 general
Diffstat (limited to 'src/ex.cc')
-rw-r--r-- | src/ex.cc | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -240,7 +240,7 @@ void EX::handle_vector_operations( this->set_condition(UF, underflow); } -void EX::handle_i_vector_operations(signed int &s1, signed int s2, Mnemonic m) +void EX::handle_s_vector_operations(signed int &s1, signed int s2, Mnemonic m) { switch (m) { // case SRDL: @@ -249,7 +249,7 @@ void EX::handle_i_vector_operations(signed int &s1, signed int s2, Mnemonic m) // break; default: - throw std::invalid_argument("handle_i_vector_operations did not " + throw std::invalid_argument("handle_s_vector_operations did not " "receive a SRDL or SRDS operation!"); } } @@ -270,11 +270,11 @@ void EX::advance_helper() handle_vector_operations( this->curr_instr->operands.vector.slot_one, this->curr_instr->operands.vector.slot_two, m, v_len_or_pc); - } else { - handle_i_vector_operations( - this->curr_instr->operands.i_vector.slot_one, - this->curr_instr->operands.i_vector.slot_two, m); - } + }// else { + // handle_s_vector_operations( + // this->curr_instr->operands.s_vector.slot_one, + // this->curr_instr->operands.s_vector.slot_two, m); + // } this->status = OK; } |