From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from emea01-db3-obe.outbound.protection.outlook.com (mail-db3on0066.outbound.protection.outlook.com [157.55.234.66]) by dpdk.org (Postfix) with ESMTP id 892A2CE7 for ; Mon, 8 Dec 2014 22:28:41 +0100 (CET) Received: from [10.6.0.187] (12.216.194.146) by AMSPR02MB008.eurprd02.prod.outlook.com (10.242.89.156) with Microsoft SMTP Server (TLS) id 15.1.26.15; Mon, 8 Dec 2014 21:28:39 +0000 Message-ID: <5486182E.40401@ezchip.com> Date: Mon, 8 Dec 2014 13:29:18 -0800 From: Cyril Chemparathy User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Neil Horman , Zhigang Lu References: <1418029178-25162-1-git-send-email-zlu@ezchip.com> <1418029178-25162-3-git-send-email-zlu@ezchip.com> <20141208142810.GC3237@localhost.localdomain> In-Reply-To: <20141208142810.GC3237@localhost.localdomain> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [12.216.194.146] X-ClientProxiedBy: BN3PR09CA0013.namprd09.prod.outlook.com (25.160.111.151) To AMSPR02MB008.eurprd02.prod.outlook.com (10.242.89.156) X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:AMSPR02MB008; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(602002); SRVR:AMSPR02MB008; X-Forefront-PRVS: 041963B986 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(6009001)(199003)(479174003)(377454003)(51704005)(24454002)(189002)(77156002)(105586002)(62966003)(87976001)(33656002)(86362001)(122386002)(31966008)(40100003)(20776003)(64706001)(19580395003)(97736003)(19580405001)(106356001)(47776003)(92566001)(50466002)(83506001)(21056001)(107046002)(65816999)(76176999)(54356999)(42186005)(101416001)(65956001)(99396003)(64126003)(120916001)(4396001)(36756003)(50986999)(77096005)(46102003)(23746002)(66066001)(68736005); DIR:OUT; SFP:1101; SCL:1; SRVR:AMSPR02MB008; H:[10.6.0.187]; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; A:1; MX:1; LANG:en; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:;SRVR:AMSPR02MB008; X-OriginatorOrg: ezchip.com X-Mailman-Approved-At: Mon, 08 Dec 2014 22:54:58 +0100 Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 02/15] eal/tile: add atomic operations for TileGx X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 21:28:41 -0000 On 12/8/2014 6:28 AM, Neil Horman wrote: > On Mon, Dec 08, 2014 at 04:59:25PM +0800, Zhigang Lu wrote: >> This patch adds architecture specific memory barrier operations for >> TileGx. >> >> Signed-off-by: Zhigang Lu >> Signed-off-by: Cyril Chemparathy >> --- [...] >> + __sync_synchronize(); > I don't see __sync_synchronize defined anywhere. Is that an intrinsic for gcc, > or a library call? That is a GCC primitive. -- Cyril.