lkml.org 
[lkml]   [2017]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 3/4] x86/asm: Make alternative macro interfaces more clear and consistent
On Thu, Aug 31, 2017 at 12:25:42PM -0500, Josh Poimboeuf wrote:
> 2) Put "sp" in the clobbers list instead of as an i/o constraint. This
> mostly works for GCC, and doesn't break clang. However, it causes
> GCC to insert a "lea -0x10(%rbp),%rsp" in the epilogue of every
> affected function.

And maybe this extra instruction is negligible for performance and not a
big deal? I might look at this one after the holiday too.

--
Josh

\
 
 \ /
  Last update: 2017-08-31 19:32    [W:0.098 / U:1.028 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site