Stream: project-inline-asm

Topic: external assemblers and future asm goto support

Josh Triplett (Jan 21 2020 at 17:30, on Zulip):

Thinking about it, I think that we can even guarantee support for "asm goto" via an external assembler: the function defined by the external assembly would have the labels for the user-provided code to jump to, and return a distinct value from each label. The generated Rust code that calls that function would then match on the returned value to dispatch to the different code blocks corresponding to those labels.

Amanieu (Jan 21 2020 at 20:50, on Zulip):

Yes, absolutely!

Last update: May 27 2020 at 22:00UTC