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]

[PING][RFC][PATCH 0/3] Complex type support (FFI_TYPE_COMPLEX)


Ping.

On Tue, Jul 22, 2014 at 10:27:34AM +0100, Dominik Vogt wrote:
> 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).
> 
> Complex support in libffi is necessary to support the complex
> types with the reflection interface of the libgo of the Go
> programming language (gccgo).
> 
> * Patch 1/3: Somewhat reduce the macro hell.
> 
> This is a general cleanup patch that reduces the complexity of
> some preprocessor macros.  It is not strictly necessary, but it
> simplifies the following patch.
> 
> * Patch 2/3: FFI_TYPE_COMPLEX framework
> 
> The patch introducing the FFI_TYPE_COMPLEX framework, including
> documentation and test cases.  Note that the patch introduces
> predefined ffi_types for complex float, complex double and complex
> longdouble but also supports the non-standard complex types that
> gcc supports (the ffi_types have to be defined manually for them).
> (See documentation for details.)
> 
> * Patch 3/3: S390: Implement FFI_TYPE_COMPLEX
> 
> A simple patch that implements the s390-abi for complex types.

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt
IBM Germany


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