refactored asm

This commit is contained in:
2025-03-22 20:14:44 -04:00
parent 6c2f4e814f
commit 9690523ee8
10 changed files with 518 additions and 243 deletions
+2 -2
View File
@@ -10,9 +10,9 @@ pub const fn mask(h: u8, l: u8) -> u32 {
base_mask(h - l) << l
}
#[derive(Debug, Clone, Copy)]
#[derive(Debug, Clone, Copy, PartialEq)]
pub struct Bits32<const H: u8, const L: u8>(u32);
#[derive(Debug, Clone, Copy)]
#[derive(Debug, Clone, Copy, PartialEq)]
pub struct BitsI32<const H: u8, const L: u8>(u32);
impl<const H: u8, const L: u8> Bits32<H, L> {