PATCH: libffi vs. SPARC (again)
Boehm, Hans
hans_boehm@hp.com
Thu Oct 4 17:53:00 GMT 2001
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
More information about the Java-patches
mailing list