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 longdouble for darwin


Andreas Tobler wrote:

Hi all,

the longer promised patch comes here. I hope to have it mostly right to implement longdouble support on darwin (maybe even on AIX).

I'm still not finished with all the test cases but I'd like to see this patch in 3.5 and so I have to hurry somehow. The test cases needs some polishing. Testing was a bit difficult since the libc does not support longdouble and so I had to tweak a bit.

I based my work on the ppc64 ABI (by Alanm, DJE et.al.) And on what's currently implemented on darwin.

Tested on a G4.

David, if you say AIX behaves the same way as darwin regarding size and alignment of longdoubles I adjust the file src/types.c. I could not test so far on AIX.

Comments and corrections welcome.

Btw, forgot to say, fixes two current failures on darwin and the patch has also been regtested with libjava(libgcj, jacks and mauve) No regressions.


Andreas


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