[llvm-dev] [inline-asm][asm-goto] Supporting "asm goto" in inline assembly

Chandler Carruth via llvm-dev llvm-dev at lists.llvm.org
Thu Mar 30 13:22:19 PDT 2017


Just responding to the motivation stuff as that remains an open question:

On Thu, Mar 30, 2017 at 4:44 PM Yatsina, Marina <marina.yatsina at intel.com>
wrote:

> Linux kernel is using the “asm goto” feature,
>

But your original email indicated they have an alternative code path for
compilers that don't support it?

What might be compelling would be if there are serious performance problems
when using the other code path that cannot be addressed by less invasive
(and more general) improvements to LLVM. If this is the *only* way to get
comparable performance from the Linux Kernel, then I think that might be an
interesting discussion. But it would take a very careful and detailed
analysis of why IMO.


> other projects probably use it as well.
>

This is entirely possible, but I'd like to understand which projects and
why they use it rather than any of the alternatives before we impose the
implementation complexity on LLVM. At least that's my two cents.

-Chandler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170330/25c527cd/attachment.html>


More information about the llvm-dev mailing list