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


Groups > linux.kernel > #1416869

Re: [PATCH 04/10] x86, asm: define CC_SET() and CC_OUT() macros

From Andy Lutomirski <luto@amacapital.net>
Newsgroups linux.kernel
Subject Re: [PATCH 04/10] x86, asm: define CC_SET() and CC_OUT() macros
Date 2016-06-08 07:10 +0200
Message-ID <rHDUB-4ax-5@gated-at.bofh.it> (permalink)
References <rHyLf-GT-5@gated-at.bofh.it> <rHyLf-GT-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jun 7, 2016 at 4:31 PM, H. Peter Anvin <hpa@linux.intel.com> wrote:
> From: "H. Peter Anvin" <hpa@zytor.com>
>
> The CC_SET() and CC_OUT() macros can be used together to take
> advantage of the new __GCC_ASM_FLAG_OUTPUTS__ feature in gcc 6+ while
> remaining backwards compatible.  CC_SET() generates a SET instruction
> on older compilers; CC_OUT() makes sure the output is received in the
> correct variable.

Nice.

Reviewed-by: Andy Lutomirski <luto@kernel.org>

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


Thread

[PATCH 04/10] x86, asm: define CC_SET() and CC_OUT() macros "H. Peter Anvin" <hpa@linux.intel.com> - 2016-06-08 01:40 +0200
  [tip:x86/asm] x86, asm: define CC_SET() and CC_OUT() macros "tip-bot for H. Peter Anvin" <tipbot@zytor.com> - 2016-06-08 01:50 +0200
  Re: [PATCH 04/10] x86, asm: define CC_SET() and CC_OUT() macros Andy Lutomirski <luto@amacapital.net> - 2016-06-08 07:10 +0200
    Re: [PATCH 04/10] x86, asm: define CC_SET() and CC_OUT() macros "H. Peter Anvin" <hpa@zytor.com> - 2016-06-08 21:40 +0200
      Re: [PATCH 04/10] x86, asm: define CC_SET() and CC_OUT() macros "H. Peter Anvin" <hpa@linux.intel.com> - 2016-06-08 21:40 +0200
        Re: [PATCH 04/10] x86, asm: define CC_SET() and CC_OUT() macros Borislav Petkov <bp@alien8.de> - 2016-06-08 21:40 +0200

csiph-web