Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1724450

Re: [RFC PATCH 3/4] x86/asm: Make alternative macro interfaces more clear and consistent

From Josh Poimboeuf <jpoimboe@redhat.com>
Newsgroups linux.kernel
Subject Re: [RFC PATCH 3/4] x86/asm: Make alternative macro interfaces more clear and consistent
Date 2017-08-31 19:40 +0200
Message-ID <ukBBE-ap-27@gated-at.bofh.it> (permalink)
References <ukyu5-6Gt-5@gated-at.bofh.it> <ukyu5-6Gt-7@gated-at.bofh.it> <ukAmd-7Ri-9@gated-at.bofh.it> <ukBrY-4T-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC PATCH 0/4] x86/asm: Add ASM_CALL() macro for inline asms with call instructions Josh Poimboeuf <jpoimboe@redhat.com> - 2017-08-31 16:20 +0200
  [RFC PATCH 3/4] x86/asm: Make alternative macro interfaces more clear and consistent Josh Poimboeuf <jpoimboe@redhat.com> - 2017-08-31 16:20 +0200
    Re: [RFC PATCH 3/4] x86/asm: Make alternative macro interfaces more  clear and consistent Linus Torvalds <torvalds@linux-foundation.org> - 2017-08-31 18:20 +0200
      Re: [RFC PATCH 3/4] x86/asm: Make alternative macro interfaces more  clear and consistent Josh Poimboeuf <jpoimboe@redhat.com> - 2017-08-31 19:30 +0200
        Re: [RFC PATCH 3/4] x86/asm: Make alternative macro interfaces more  clear and consistent Josh Poimboeuf <jpoimboe@redhat.com> - 2017-08-31 19:40 +0200
          Re: [RFC PATCH 3/4] x86/asm: Make alternative macro interfaces more  clear and consistent Ingo Molnar <mingo@kernel.org> - 2017-09-02 12:40 +0200
  [RFC PATCH 2/4] x86/asm: Convert some inline asm positional operands to named operands Josh Poimboeuf <jpoimboe@redhat.com> - 2017-08-31 16:20 +0200
  [RFC PATCH 1/4] x86/paravirt: Fix output constraint macro names Josh Poimboeuf <jpoimboe@redhat.com> - 2017-08-31 16:20 +0200
  [RFC PATCH 4/4] x86/asm: Use ASM_CALL() macro for inline asm statements with call instructions Josh Poimboeuf <jpoimboe@redhat.com> - 2017-08-31 16:20 +0200
    Re: [RFC PATCH 4/4] x86/asm: Use ASM_CALL() macro for inline asm  statements with call instructions Peter Zijlstra <peterz@infradead.org> - 2017-08-31 17:00 +0200
      Re: [RFC PATCH 4/4] x86/asm: Use ASM_CALL() macro for inline asm  statements with call instructions Josh Poimboeuf <jpoimboe@redhat.com> - 2017-08-31 17:30 +0200
        Re: [RFC PATCH 4/4] x86/asm: Use ASM_CALL() macro for inline asm  statements with call instructions Dmitry Vyukov <dvyukov@google.com> - 2017-08-31 17:50 +0200

csiph-web