Messages in this thread | | | From | Andy Lutomirski <> | Date | Tue, 7 Jun 2016 22:09:07 -0700 | 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@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>
| |