summaryrefslogtreecommitdiff
path: root/src/stage.cc
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-05-08 19:44:23 -0400
committerbd <bdunahu@operationnull.com>2025-05-08 19:44:23 -0400
commitf4a5db14436ddbb2820c0abefcb34e5482105a12 (patch)
tree2b716eba64b247f03e2454f1d62d15643f203a1f /src/stage.cc
parentc7132dbc9c38ff766053bd9a0b72c68b23cd08d2 (diff)
Move is_logical_type and is_vector_type to instr.h
Diffstat (limited to 'src/stage.cc')
-rw-r--r--src/stage.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/stage.cc b/src/stage.cc
index 4eab7d3..7db3539 100644
--- a/src/stage.cc
+++ b/src/stage.cc
@@ -71,20 +71,6 @@ InstrDTO *Stage::advance(Response p)
return r;
}
-bool Stage::is_vector_type(Mnemonic m)
-{
- return (
- m == ADDV || m == SUBV || m == MULV || m == DIVV || m == CEV ||
- m == LOADV || m == STOREV);
-}
-
-bool Stage::is_logical(Mnemonic m)
-{
- return (
- m == ANDI || m == ORI || m == XORI || m == AND || m == OR || m == XOR ||
- m == NOT);
-}
-
InstrDTO *Stage::get_instr() { return this->curr_instr; }
void Stage::set_condition(CC c, bool v)