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

Jeff Sturm jsturm@sigma6.com
Sun Apr 16 20:00:00 GMT 2000


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


More information about the Java-patches mailing list