Bug#479529: Upstream fix is partially incorrect

Thiemo Seufer ths at networkno.de
Wed May 14 22:12:31 UTC 2008


reopen 479529
thanks

Upstream's version of the patch is incorrect for the SIZOF_VOID_P != 8
case. For the O32 ABI, l.d/s.d expand to a instruction sequence which
handles the even/odd FPU register pairs, so the programmer can just
think of it as "load double / store double" without ever explicitly
working with the odd registers.

Comparing my patch to the upstream version probably explains this better
than a textual description.

GAS warns when using l.d/s.d on an odd FP register. Since the l.d/s.d
macros were written to mimic the original MIPS assembler I believe the
MIPS Pro assembler expands those macros the same way for O32 ABI. I
presume it doesn't warn the same way GAS does, though.


Thiemo





More information about the pkg-java-maintainers mailing list