Skip to content

Commit

Permalink
0x3 for valcnt and popcnt
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouwfang committed Jan 2, 2025
1 parent 4559e55 commit 06de664
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/interpreter/src/side_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Self, Error> {
let mut fields = 0;
Expand Down

0 comments on commit 06de664

Please sign in to comment.