From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C81551A1E10 for ; Mon, 17 Oct 2016 18:36:06 -0700 (PDT) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP; 17 Oct 2016 18:36:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,359,1473145200"; d="scan'208";a="20591327" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga006.fm.intel.com with ESMTP; 17 Oct 2016 18:36:06 -0700 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 17 Oct 2016 18:36:06 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 17 Oct 2016 18:36:05 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.206]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.139]) with mapi id 14.03.0248.002; Tue, 18 Oct 2016 09:36:04 +0800 From: "Gao, Liming" To: Laszlo Ersek , "edk2-devel@ml01.01.org" Thread-Topic: [edk2] [Patch] MdePkg BaseSynchronizationLib: Update InterlockedCompareExchange64.nasm Thread-Index: AQHSJebvBrR+4iqWeEyqd3Vpb35x16CnWUqAgAYa02A= Date: Tue, 18 Oct 2016 01:36:03 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14B495913@shsmsx102.ccr.corp.intel.com> References: <1476427653-13184-1-git-send-email-liming.gao@intel.com> <8168a43b-1b66-6697-eeb5-41b431af15ee@redhat.com> In-Reply-To: <8168a43b-1b66-6697-eeb5-41b431af15ee@redhat.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch] MdePkg BaseSynchronizationLib: Update InterlockedCompareExchange64.nasm X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2016 01:36:07 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Thanks! I will use this subject.=20 > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of > Laszlo Ersek > Sent: Friday, October 14, 2016 8:22 PM > To: Gao, Liming ; edk2-devel@ml01.01.org > Subject: Re: [edk2] [Patch] MdePkg BaseSynchronizationLib: Update > InterlockedCompareExchange64.nasm >=20 > On 10/14/16 08:47, Liming Gao wrote: > > Remove extra qword in nasm code to make it pass build. > > This file is only built in INTEL ICC compiler. So, there is missing > > build check for it. > > > > Contributed-under: TianoCore Contribution Agreement 1.0 > > Signed-off-by: Liming Gao > > --- > > .../BaseSynchronizationLib/Ia32/InterlockedCompareExchange64.nasm > | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git > a/MdePkg/Library/BaseSynchronizationLib/Ia32/InterlockedCompareExchan > ge64.nasm > b/MdePkg/Library/BaseSynchronizationLib/Ia32/InterlockedCompareExchan > ge64.nasm > > index ee63ff7..206de40 100644 > > --- > a/MdePkg/Library/BaseSynchronizationLib/Ia32/InterlockedCompareExchan > ge64.nasm > > +++ > b/MdePkg/Library/BaseSynchronizationLib/Ia32/InterlockedCompareExchan > ge64.nasm > > @@ -41,7 +41,7 @@ ASM_PFX(InternalSyncCompareExchange64): > > mov edx, [esp + 20] > > mov ebx, [esp + 24] > > mov ecx, [esp + 28] > > - lock cmpxchg8b qword [esi] > > + lock cmpxchg8b [esi] > > pop ebx > > pop esi > > ret > > >=20 > Suggested subject line: >=20 > MdePkg BaseSynchronizationLib InterlockedCompareExchange64: fix ICC > build >=20 > (73 characters) >=20 > Thanks, > Laszlo > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel