On Thu, Nov 30, 2023 at 07:25:01AM -0800, Boqun Feng wrote: > seems to me, the plan for this is something like below: > > asm!( > "cmp {}, 42", > "jeq {}", > in(reg) val, > label { println!("a"); }, > fallthrough { println!("b"); } > ); Because rust has horrible syntax I can't parse, I can't tell if this is useful or not :/ Can this be used to implement arch_static_branch*() ?