Re: [Gc] [PATCH 2/2]: Hexagon atomic ops
ivmai at mail.ru
Wed Nov 16 08:33:10 PST 2011
Based on your implementation of CAS for Hexagon, I've created another CAS primitive equivalent to GCC __sync_val_compare_and_swap one (see AO_fetch_compare_and_swap() in https://github.com/ivmai/libatomic_ops/blob/ao_val_cas/src/atomic_ops/sysdeps/gcc/hexagon.h).
But I have no opportunity to test the code.
Could you please test that code ("ao_val_cas" branch) for Hexagon?
git clone git://github.com/ivmai/libatomic_ops.git -b ao_val_cas
cd libatomic_ops; autoreconf -vif
./configure; make check
17 10 2011, 22:18 Ivan Maidanski <ivmai at mail.ru>:
> Hi Linas,
> I've merged this into 'release' (v7.2) branch as well.
> 12 10 2011, 21:39 Linas Vepstas <linasvepstas at gmail.com>:
> > On 11 October 2011 00:26, Ivan Maidanski <ivmai at mail.ru> wrote:
> > > I've committed it as patch 9136ee6 to libatomic_ops repo master branch with minor changes (in particular, I've changed the words in the license to match that on other files - the sense should remain the same as in the original file you sent but please check it).
> > Looks reasonable. I had cut-n-pasted the license notice from some
> > other file in that directory, with the goal of making it compatible.
> > Thanks!
> > --linas
> > _______________________________________________
> > Gc mailing list
> > Gc at linux.hpl.hp.com
> > https://www.hpl.hp.com/hosted/linux/mail-archives/gc/
More information about the Gc