1 2 3 4 5 6 7 8 9 10
fn foo() { builtin#asm( "mov {tmp}, {x}", "shl {tmp}, 1", "shl {x}, 2", "add {x}, {tmp}", x = inout(reg) x, tmp = out(reg) _, ); }