def gfm.mask
import bend-osdev-gf@0.1.1.0/gfm.bend as Gfmimport Base
47# all ones if the low bit of b is set, else 0
48def gfm.mask(b: U32) -> U32:
49 U32.sub(0, U32.and(b, 1))
import bend-osdev-gf@0.1.1.0/gfm.bend as Gfmimport Base
47# all ones if the low bit of b is set, else 0
48def gfm.mask(b: U32) -> U32:
49 U32.sub(0, U32.and(b, 1))