<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 22, 2021, 08:54 Anirudh Prasad via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
<br>
We wanted to bring up the possibility of introducing a new inline asm constraint for all targets. This new constraint is meant to be used as a replacement for the register asm construct. Part of the motivation behind this proposal is to come up with something that is a bit nicer and more obvious to use. The new inline asm constraint would be as follows:<br>
<br>
{“<register-name>”} (operand name) ...<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">This is somewhat similar to Rust's new inline assembly syntax:</div><div dir="auto"><a href="https://github.com/rust-lang/rfcs/blob/master/text/2873-inline-asm.md#explicit-register-operands">https://github.com/rust-lang/rfcs/blob/master/text/2873-inline-asm.md#explicit-register-operands</a><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We are very interested in hearing opinions on the above proposal!</blockquote></div></div><div dir="auto"><br></div><div dir="auto">I think this is a good idea!</div><div dir="auto"><br></div><div dir="auto">Jacob</div><div dir="auto"></div></div>