This is the mail archive of the java-patches@gcc.gnu.org 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]
Other format: [Raw text]

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 


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