This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
RE: PATCH: libffi vs. SPARC (again)
- From: "Boehm, Hans" <hans_boehm at hp dot com>
- To: "'Jeff Sturm'" <jsturm at one-point dot com>, java-patches at gcc dot gnu dot org
- Date: Wed, 14 Nov 2001 19:17:21 -0800
- Subject: RE: PATCH: libffi vs. SPARC (again)
It doesn't look to me like the patch works for a big-endian 64-bit machine,
e.g. sparc64?
I'm also concerned that we're adding overhead on little-endian machines
where it doesn't really matter. (My impression was that libffi always
promoted to a word in the same sense that the C compiler promotes arguments,
i.e. the real result is in the low order bits of the word. Is that not
right?) I suspect it would be hard for the compiler to deduce that this is
all a no-op. It does seem ugly to distinguish based on endian-ness. But if
we believe that this is time-critical code, I'd be inclined to do so.
Hans