summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-05-10 15:07:58 -0400
committerbd <bdunahu@operationnull.com>2025-05-10 15:07:58 -0400
commita08582325ef39cb5dc1bbe14043b756b111899b1 (patch)
tree02e3dda533c610c693b3d037fe09ad4270df1f68 /inc
parenta29d974ac8cec5803dd9c9ea66f3ac5d06a1fe2b (diff)
Fix tests to use correct register indexes with vector addition
Diffstat (limited to 'inc')
-rw-r--r--inc/stage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/stage.h b/inc/stage.h
index 1afb8e5..834b941 100644
--- a/inc/stage.h
+++ b/inc/stage.h
@@ -136,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];
}