This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi 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: [RFC][PATCH 0/3] Complex type support (FFI_TYPE_COMPLEX)


Dominik Vogt <vogt@linux.vnet.ibm.com> writes:

> The following series of patches introduces a framework for C
> complex types (FFI_TYPE_COMPLEX) and support for complex types on
> s390/s390x.  For now, an architecture that supports complex types
> has to define FFI_TARGET_HAS_COMPLEX_TYPE to activate the support.
> This can be changed in the future when most architecture have
> implemented it so that this is the default.  The patch does not
> address complex support in java_raw_api.c (as there is no
> documentation how this interface is supposed to work).

Thank you for this tremendous effort, Dominik.

I'm not all that familiar with how GCC handles complex types on other
architectures, but hopefully they are as straight forward as on s390.

It would be nice if the complex test cases turned into expected failures
for platforms that don't have the back end support.

I've committed this patch to the libffi git repo.

AG


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