[lkml]   [2018]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: clang asm-goto support (Was Re: [PATCH v2] x86/retpoline: Add clang support)
I believe we do have the infrastructure in llvm to implement a working patch.
The "asm goto" was introduced as a solution to a problem (optimizing tracepoints/ nop patching).
When we started the discussion in llvm about adding this feature, questions arose if we can design a better solution for this problem than "asm goto".

You can find a more about the discussion in the llvm community here:

* This is the middle of the thread, and there are more messages later on.


-----Original Message-----
From: Greg Kroah-Hartman []
Sent: Wednesday, February 14, 2018 11:53
To: Chandler Carruth <>
Cc: Yatsina, Marina <>; Kees Cook <>; David Woodhouse <>; Kreitzer, David L <>; Grischenko, Andrei L <>;; LLVM Developers <>;; Tayree, Coby <>; Matthias Braun <>; Dean Michael Berris <>; James Y Knight <>; Guenter Roeck <>; X86 ML <>; LKML <>; Alan Cox <>; Rik van Riel <>; Andi Kleen <>; Josh Poimboeuf <>; Tom Lendacky <>; Peter Zijlstra <>; Linus Torvalds <>; Jiri Kosina <>; Andy Lutomirski <>; Hansen, Dave <>; Tim Chen <>; Paul Turner <>; Stephen Hines <>; Nick Desaulniers <>
Subject: Re: clang asm-goto support (Was Re: [PATCH v2] x86/retpoline: Add clang support)

On Wed, Feb 14, 2018 at 08:41:43AM +0000, Chandler Carruth wrote:
> Marina, Kees:
> I think the combination of LKML and the LLVM developer's list is
> probably too large a set of folks to have a (somewhat) lengthy
> exploration of options and how to go about this and find a good path forward.

Why is there any need to discuss "options" here? What is preventing the implementation of "asm goto" in llvm? Is it the lack of a working patch, or something else?


greg k-h
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

 \ /
  Last update: 2018-02-14 11:11    [W:0.100 / U:4.604 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site