From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423721AbcFHTbK (ORCPT ); Wed, 8 Jun 2016 15:31:10 -0400 Received: from terminus.zytor.com ([198.137.202.10]:40914 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423409AbcFHTbJ (ORCPT ); Wed, 8 Jun 2016 15:31:09 -0400 Subject: Re: [PATCH 04/10] x86, asm: define CC_SET() and CC_OUT() macros To: Andy Lutomirski , "H. Peter Anvin" References: <1465342269-492350-1-git-send-email-hpa@linux.intel.com> <1465342269-492350-5-git-send-email-hpa@linux.intel.com> Cc: Ingo Molnar , Thomas Gleixner , Linux Kernel Mailing List , Peter Zijlstra , Borislav Petkov From: "H. Peter Anvin" Message-ID: <1be57ead-ac87-1ccb-c7f1-07d54e6f8c6e@zytor.com> Date: Wed, 8 Jun 2016 12:29:28 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/07/16 22:09, Andy Lutomirski wrote: > On Tue, Jun 7, 2016 at 4:31 PM, H. Peter Anvin wrote: >> From: "H. Peter Anvin" >> >> 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 > 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. -hpa