corrects oversight in vector_functions

This commit is contained in:
Eyck-Alexander Jentzsch 2025-02-11 08:28:52 +01:00
parent c1f9328528
commit 69c8fda5d2

View File

@ -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() {