diff options
author | bd <bdunahu@operationnull.com> | 2025-05-11 22:04:12 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-05-11 22:04:12 -0400 |
commit | e98aadede1f2151e50a8fdb3dc69d306590718eb (patch) | |
tree | ac1ceb6fbcc72e6010f6080d87fc1cf7921b42c8 | |
parent | c9d4b54150b67e1701a920719ba2c7c03d897d27 (diff) |
Fix bug where vector registers were not cleared when length was 0
-rw-r--r-- | src/wb.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -93,7 +93,7 @@ std::array<signed int, V_R_LIMIT> WB::copy_extra_vector_elements() int i; std::array<signed int, V_R_LIMIT> v; - if (this->curr_instr->type == S_VECT) { + if (this->curr_instr->type == R_VECT) { if (this->curr_instr->slot_B == 0) { v = {0}; return v; |