This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
Re: Patch: 32bit and 64bit Sparc Linux support in libffi
- To: Bryce McKinlay <bryce at albatross dot co dot nz>
- Subject: Re: Patch: 32bit and 64bit Sparc Linux support in libffi
- From: Jeff Sturm <jsturm at sigma6 dot com>
- Date: Sun, 16 Apr 2000 23:07:32 -0400
- CC: green at cygnus dot com, java-patches at sourceware dot cygnus dot com, jakub at redhat dot com
- References: <200004170213.TAA07295@hoser.cygnus.com> <38FA7698.F805C989@albatross.co.nz>
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