Fix AFFINITY_MASK value

This commit is contained in:
krishvishal
2025-06-06 16:13:06 +05:30
committed by Krishna Vishal
parent faa9aedbae
commit f0dda1702f

View File

@@ -20,7 +20,7 @@ pub struct CmpInsFlags(usize);
impl CmpInsFlags {
const NULL_EQ: usize = 0x80;
const JUMP_IF_NULL: usize = 0x10;
const AFFINITY_MASK: usize = 0x0F;
const AFFINITY_MASK: usize = 0x47;
fn has(&self, flag: usize) -> bool {
(self.0 & flag) != 0