> -----Original Message----- > From: Phil Yang <phil.y...@arm.com> > Sent: Friday, June 28, 2019 1:42 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; Jerin Jacob Kollanukkaran <jer...@marvell.com>; > hemant.agra...@nxp.com; honnappa.nagaraha...@arm.com; > gavin...@arm.com; n...@arm.com; gage.e...@intel.com > Subject: [EXT] [PATCH v3 2/3] test/atomic: add 128b compare and swap test > > Add 128b atomic compare and swap test for aarch64 and x86_64. > > Signed-off-by: Phil Yang <phil.y...@arm.com> > Reviewed-by: Honnappa Nagarahalli <honnappa.nagaraha...@arm.com> > --- > app/test/test_atomic.c | 122 > > +#if defined(RTE_ARCH_X86_64) || defined(RTE_ARCH_ARM64) static > +rte_int128_t count128;
Moving this to down[1] can reduce one #ifdef cutler. > + > static int > test_atomic_usual(__attribute__((unused)) void *arg) { @@ -216,6 +237,72 > @@ test_atomic_dec_and_test(__attribute__((unused)) void *arg) > return 0; > } > > +#if defined(RTE_ARCH_X86_64) || defined(RTE_ARCH_ARM64) [1] See above, With above change, Acked-by: Jerin Jacob <jer...@marvell.com> Tested-by: Jerin Jacob <jer...@marvell.com>