From 06de66405965f9a9b596ff7c907ae7a4f9ac1430 Mon Sep 17 00:00:00 2001 From: Zhou Fang <33002388+zhou-w-fang@users.noreply.github.com> Date: Thu, 2 Jan 2025 15:28:38 -0800 Subject: [PATCH] 0x3 for valcnt and popcnt --- crates/interpreter/src/side_table.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/interpreter/src/side_table.rs b/crates/interpreter/src/side_table.rs index 3c3221bb..c491f5d3 100644 --- a/crates/interpreter/src/side_table.rs +++ b/crates/interpreter/src/side_table.rs @@ -33,8 +33,8 @@ pub struct SideTableEntryView { impl SideTableEntry { const DELTA_IP_MASK: u64 = 0xffff; const DELTA_STP_MASK: u64 = 0x7fff << 16; - const VAL_CNT_MASK: u64 = 0xf << 31; - const POP_CNT_MASK: u64 = 0xffff << 35; + const VAL_CNT_MASK: u64 = 0x3 << 31; + const POP_CNT_MASK: u64 = 0x3 << 33; pub fn new(view: SideTableEntryView) -> Result { let mut fields = 0;