[dpdk-dev] [EXT] [PATCH v3 1/3] eal/arm64: add 128-bit atomic compare exchange
Eads, Gage
gage.eads at intel.com
Fri Jul 19 16:50:49 CEST 2019
> > > > > +/**
> > > > > + * 128-bit integer structure.
> > > > > + */
> > > > > +RTE_STD_C11
> > > > > +typedef struct {
> > > > > + RTE_STD_C11
> > > > > + union {
> > > > > + uint64_t val[2];
> > > > > + __extension__ __int128 int128;
> >
> > Instead of guarding RTE_ARCH_64 on this complete structure, How about
> > it only under #ifdef RTE_ARCH_64 __extension__ __int128 int128; #endif
> > So that it rte_int128_t will be available for 32bit as well.
>
> Agree, it should be work. But I am not sure.
>
> Hi Gage,
>
> How do you think about this?
>
I don't see any harm in that.
More information about the dev
mailing list