Re: [dpdk-dev] [PATCH v6] eal/x86: add 128-bit atomic compare exchange

2019-04-04 Thread Ferruh Yigit
On 4/4/2019 1:18 PM, Thomas Monjalon wrote: > 04/04/2019 14:14, Eads, Gage: >> From: Thomas Monjalon [mailto:tho...@monjalon.net] >>> 04/04/2019 14:08, Thomas Monjalon: 04/04/2019 13:47, Ferruh Yigit: > .../dpdk/x86_64-native-linuxapp-gcc/include/rte_atomic_64.h:223:3: > error: ISO C d

Re: [dpdk-dev] [PATCH v6] eal/x86: add 128-bit atomic compare exchange

2019-04-04 Thread Eads, Gage
chardson, Bruce ; Ananyev, Konstantin > ; gavin...@arm.com; > honnappa.nagaraha...@arm.com; n...@arm.com; > chao...@linux.vnet.ibm.com; jer...@marvell.com; > hemant.agra...@nxp.com > Subject: RE: [dpdk-dev] [PATCH v6] eal/x86: add 128-bit atomic compare > exchange > > >

Re: [dpdk-dev] [PATCH v6] eal/x86: add 128-bit atomic compare exchange

2019-04-04 Thread Eads, Gage
com; > Richardson, Bruce ; Ananyev, Konstantin > ; gavin...@arm.com; > honnappa.nagaraha...@arm.com; n...@arm.com; > chao...@linux.vnet.ibm.com; jer...@marvell.com; > hemant.agra...@nxp.com > Subject: Re: [dpdk-dev] [PATCH v6] eal/x86: add 128-bit atomic compare > exchange >

Re: [dpdk-dev] [PATCH v6] eal/x86: add 128-bit atomic compare exchange

2019-04-04 Thread Thomas Monjalon
04/04/2019 14:14, Eads, Gage: > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > 04/04/2019 14:08, Thomas Monjalon: > > > 04/04/2019 13:47, Ferruh Yigit: > > > > .../dpdk/x86_64-native-linuxapp-gcc/include/rte_atomic_64.h:223:3: > > > > error: ISO C does not support ‘__int128’ types [-Werror=

Re: [dpdk-dev] [PATCH v6] eal/x86: add 128-bit atomic compare exchange

2019-04-04 Thread Eads, Gage
rflare.com; > Richardson, Bruce ; Ananyev, Konstantin > ; gavin...@arm.com; > honnappa.nagaraha...@arm.com; n...@arm.com; > chao...@linux.vnet.ibm.com; jer...@marvell.com; > hemant.agra...@nxp.com > Subject: Re: [dpdk-dev] [PATCH v6] eal/x86: add 128-bit atomic compare > exchange >

Re: [dpdk-dev] [PATCH v6] eal/x86: add 128-bit atomic compare exchange

2019-04-04 Thread Thomas Monjalon
04/04/2019 14:08, Thomas Monjalon: > 04/04/2019 13:47, Ferruh Yigit: > > .../dpdk/x86_64-native-linuxapp-gcc/include/rte_atomic_64.h:223:3: error: > > ISO C > > does not support ‘__int128’ types [-Werror=pedantic] > > We can try this kind of workaround (disable pedantic locally): > https://github

Re: [dpdk-dev] [PATCH v6] eal/x86: add 128-bit atomic compare exchange

2019-04-04 Thread Thomas Monjalon
04/04/2019 13:47, Ferruh Yigit: > .../dpdk/x86_64-native-linuxapp-gcc/include/rte_atomic_64.h:223:3: error: ISO > C > does not support ‘__int128’ types [-Werror=pedantic] We can try this kind of workaround (disable pedantic locally): https://github.com/HowardHinnant/date/pull/38/commits/177032852

Re: [dpdk-dev] [PATCH v6] eal/x86: add 128-bit atomic compare exchange

2019-04-04 Thread Ferruh Yigit
On 4/3/2019 8:44 PM, Gage Eads wrote: > This operation can be used for non-blocking algorithms, such as a > non-blocking stack or ring. > > It is available only for x86_64. > > Signed-off-by: Gage Eads > Reviewed-by: Honnappa Nagarahalli > --- > This patch addresses x86-64 only; other architect

Re: [dpdk-dev] [PATCH v6] eal/x86: add 128-bit atomic compare exchange

2019-04-03 Thread Thomas Monjalon
03/04/2019 21:44, Gage Eads: > This operation can be used for non-blocking algorithms, such as a > non-blocking stack or ring. > > It is available only for x86_64. > > Signed-off-by: Gage Eads > Reviewed-by: Honnappa Nagarahalli > --- > This patch addresses x86-64 only; other architectures can/

[dpdk-dev] [PATCH v6] eal/x86: add 128-bit atomic compare exchange

2019-04-03 Thread Gage Eads
This operation can be used for non-blocking algorithms, such as a non-blocking stack or ring. It is available only for x86_64. Signed-off-by: Gage Eads Reviewed-by: Honnappa Nagarahalli --- This patch addresses x86-64 only; other architectures can/will be supported in the future. The __atomic i