From 69c8fda5d217c118968ba6933c82e0d460924635 Mon Sep 17 00:00:00 2001 From: Eyck-Alexander Jentzsch Date: Tue, 11 Feb 2025 08:28:52 +0100 Subject: [PATCH] corrects oversight in vector_functions --- src/vm/vector_functions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm/vector_functions.cpp b/src/vm/vector_functions.cpp index 5ca248d..e876c3e 100644 --- a/src/vm/vector_functions.cpp +++ b/src/vm/vector_functions.cpp @@ -71,7 +71,7 @@ struct vreg_view { vtype_t::vtype_t(uint32_t vtype_val) { underlying = (vtype_val & 0x8000) << 32 | (vtype_val & ~0x8000); } vtype_t::vtype_t(uint64_t vtype_val) { underlying = vtype_val; } -bool vtype_t::vill() { return underlying >> 31; } +bool vtype_t::vill() { return underlying >> 63; } bool vtype_t::vma() { return (underlying >> 7) & 1; } bool vtype_t::vta() { return (underlying >> 6) & 1; } unsigned vtype_t::sew() {