From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423846AbcFHTeM (ORCPT ); Wed, 8 Jun 2016 15:34:12 -0400 Received: from mga03.intel.com ([134.134.136.65]:15346 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423278AbcFHTeK (ORCPT ); Wed, 8 Jun 2016 15:34:10 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,440,1459839600"; d="scan'208";a="824378733" Subject: Re: [PATCH 04/10] x86, asm: define CC_SET() and CC_OUT() macros To: "H. Peter Anvin" , Andy Lutomirski References: <1465342269-492350-1-git-send-email-hpa@linux.intel.com> <1465342269-492350-5-git-send-email-hpa@linux.intel.com> <1be57ead-ac87-1ccb-c7f1-07d54e6f8c6e@zytor.com> Cc: Ingo Molnar , Thomas Gleixner , Linux Kernel Mailing List , Peter Zijlstra , Borislav Petkov From: "H. Peter Anvin" Message-ID: <36c5b34a-a145-aa29-df58-4615df9f440b@linux.intel.com> Date: Wed, 8 Jun 2016 12:34:05 -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: <1be57ead-ac87-1ccb-c7f1-07d54e6f8c6e@zytor.com> 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/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 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. > (I'm going to assume for now that you meant the whole patch series.) -hpa