diff options
author | bd <bdunahu@operationnull.com> | 2025-05-08 19:44:23 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-05-08 19:44:23 -0400 |
commit | f4a5db14436ddbb2820c0abefcb34e5482105a12 (patch) | |
tree | 2b716eba64b247f03e2454f1d62d15643f203a1f /src/wb.cc | |
parent | c7132dbc9c38ff766053bd9a0b72c68b23cd08d2 (diff) |
Move is_logical_type and is_vector_type to instr.h
Diffstat (limited to 'src/wb.cc')
-rw-r--r-- | src/wb.cc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -18,6 +18,7 @@ #include "wb.h" #include "instrDTO.h" #include "response.h" +#include "instr.h" #include "stage.h" #include <algorithm> #include <array> @@ -51,8 +52,8 @@ void WB::write_handler() this->checked_out.pop_front(); reg = this->curr_instr->checked_out; - - if(this->is_vector_type(this->curr_instr->mnemonic)) { + + if(instr::is_vector_type(this->curr_instr->mnemonic)) { if(this->curr_instr->mnemonic != STOREV && this->curr_instr->mnemonic != LOADV) { this->store_register<std::array<signed int, V_R_LIMIT>>(reg, this->curr_instr->operands.vector.slot_one); } else { |