[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALCETrXtL507vzAQDR9ztKTUC08ZdfwUjR5dJa5stZB5+qyOmg@mail.gmail.com>
Date: Tue, 7 Jun 2016 22:09:07 -0700
From: Andy Lutomirski <luto@...capital.net>
To: "H. Peter Anvin" <hpa@...ux.intel.com>
Cc: Ingo Molnar <mingo@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
"H. Peter Anvin" <hpa@...or.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Peter Zijlstra <peterz@...radead.org>,
Borislav Petkov <bp@...en8.de>
Subject: Re: [PATCH 04/10] x86, asm: define CC_SET() and CC_OUT() macros
On Tue, Jun 7, 2016 at 4:31 PM, H. Peter Anvin <hpa@...ux.intel.com> wrote:
> From: "H. Peter Anvin" <hpa@...or.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@...nel.org>
Powered by blists - more mailing lists