From e98aadede1f2151e50a8fdb3dc69d306590718eb Mon Sep 17 00:00:00 2001 From: bd Date: Sun, 11 May 2025 22:04:12 -0400 Subject: Fix bug where vector registers were not cleared when length was 0 --- src/wb.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wb.cc b/src/wb.cc index 89ee298..7320f4f 100644 --- a/src/wb.cc +++ b/src/wb.cc @@ -93,7 +93,7 @@ std::array WB::copy_extra_vector_elements() int i; std::array 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; -- cgit v1.2.3