summaryrefslogtreecommitdiff
path: root/inc/stage.h
diff options
context:
space:
mode:
authorSiddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com>2025-05-11 11:51:15 -0400
committerGitHub <noreply@github.com>2025-05-11 11:51:15 -0400
commita35eb451889f0efa99ff7fe1c0a3a76afd5e7ad5 (patch)
tree44205b454c11a2d98711cd3226b4828e12a8479a /inc/stage.h
parentc7132dbc9c38ff766053bd9a0b72c68b23cd08d2 (diff)
parent6f4e9e0b914c3e68691a5d884cbad0b5813fcf18 (diff)
Merge pull request #78 from bdunahu/bdunahu
cleanup/fix existing vector extension
Diffstat (limited to 'inc/stage.h')
-rw-r--r--inc/stage.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/inc/stage.h b/inc/stage.h
index 4e0c252..834b941 100644
--- a/inc/stage.h
+++ b/inc/stage.h
@@ -83,10 +83,6 @@ class Stage
*/
static std::deque<signed int> checked_out;
- bool is_vector_type(Mnemonic m);
-
- bool is_logical(Mnemonic m);
-
protected:
/**
* The function expected to do the majority of the work.
@@ -140,7 +136,7 @@ class Stage
}
else if constexpr (std::is_same_v<T, std::array<signed int, V_R_LIMIT>>) {
if (v < GPR_NUM || v >= GPR_NUM + V_NUM) {
- throw std::out_of_range("Invalid vector register index");
+ throw std::out_of_range("Invalid VRS index");
}
return vrs[v % GPR_NUM];
}