This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Using __kuser_cmpxchg
David Daney writes:
> Andrew Haley wrote:
> > David Daney writes:
> > >
> > > Am I missing something here?
> > >
> > > Is it really impossible to implement compare_and_swap on these ARM
> > > platforms?
> >
> > No, but it is exceedingly difficult to do it *efficiently*.
> >
>
> Right, I think you told me that once before.
>
> I forget, is the arm-linuxeabi port of libgcj currently sacrificing
> correctness for speed?
Yeah, that's right, and it's what I'm trying to fix. Unfortunately,
the suggested cure seems to be worse than the disease.
Andrew.