This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: [RFC][PATCH 0/3] Complex type support (FFI_TYPE_COMPLEX)
- From: Anthony Green <green at moxielogic dot com>
- To: vogt at linux dot vnet dot ibm dot com
- Cc: libffi-discuss at sourceware dot org
- Date: Sat, 20 Sep 2014 06:31:21 -0400
- Subject: Re: [RFC][PATCH 0/3] Complex type support (FFI_TYPE_COMPLEX)
- Authentication-results: sourceware.org; auth=none
- References: <20140722092734 dot GA23937 at linux dot vnet dot ibm dot com>
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