Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Binding C libraries which use variable arguments (stdarg.h)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-11-03 (19:33)
From: Florian Weimer <fw@d...>
Subject: Re: [Caml-list] Binding C libraries which use variable arguments (stdarg.h)
* Adrien:

> I found a few references indicating that libffi was properly doing
> that however.

I looked at the assembly, and it is doing the right thing, but for the
wrong reason.  The "only load sse registers if ssecount non-zero"
change in 2005 happens to put the SSE register count in the correct
register, but this wasn't the intent of the change based on the
ChangeLog entry. 8-)