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

From: H. Peter Anvin
Date: Wed Jun 08 2016 - 15:34:14 EST


On 06/08/16 12:29, H. Peter Anvin wrote:
> On 06/07/16 22:09, Andy Lutomirski wrote:
>> On Tue, Jun 7, 2016 at 4:31 PM, H. Peter Anvin <hpa@xxxxxxxxxxxxxxx> wrote:
>>> From: "H. Peter Anvin" <hpa@xxxxxxxxx>
>>>
>>> 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@xxxxxxxxxx>
>>
>
> Did you mean this for the entire patch series or for this one patch
> only? I want to make sure to add the proper tags for the repost.
>

(I'm going to assume for now that you meant the whole patch series.)

-hpa