This is the mail archive of the java-patches@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch: 32bit and 64bit Sparc Linux support in libffi


Bryce McKinlay wrote:
> Cool. libgcj still won't run on linux/sparc, though, as the current gc
> doesn't have a GC_Test_and_set() implementation for sparc.

hmm... we really should have GC_test_and_set for linux/sparc.  The
pthreads fallback is a nice idea, albeit at degraded performance.

Sparc has an atomic swap instruction, similar to x86 XCHG.  It would be
trivial to add, but I don't have a test machine (all my sparc hardware
runs Solaris).  If I write one can someone else test it on Linux?

--
Jeff Sturm
jsturm@sigma6.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]