From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31280 invoked by alias); 20 Aug 2014 06:57:27 -0000 Mailing-List: contact libffi-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libffi-discuss-owner@sourceware.org Received: (qmail 31268 invoked by uid 89); 20 Aug 2014 06:57:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: e06smtp10.uk.ibm.com Received: from e06smtp10.uk.ibm.com (HELO e06smtp10.uk.ibm.com) (195.75.94.106) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 20 Aug 2014 06:57:26 +0000 Received: from /spool/local by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 20 Aug 2014 07:57:22 +0100 Received: from d06dlp01.portsmouth.uk.ibm.com (9.149.20.13) by e06smtp10.uk.ibm.com (192.168.101.140) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 20 Aug 2014 07:57:20 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id DD4AF17D804E for ; Wed, 20 Aug 2014 07:59:11 +0100 (BST) Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s7K6vKpc32571420 for ; Wed, 20 Aug 2014 06:57:20 GMT Received: from d06av02.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s7K6vJ96016335 for ; Wed, 20 Aug 2014 00:57:19 -0600 Received: from bl3ahm9f.de.ibm.com (dyn-9-152-212-103.boeblingen.de.ibm.com [9.152.212.103]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id s7K6vJLp016312 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Wed, 20 Aug 2014 00:57:19 -0600 Received: from dvogt by bl3ahm9f.de.ibm.com with local (Exim 4.76) (envelope-from ) id 1XJzpe-0000kf-NF; Wed, 20 Aug 2014 08:57:18 +0200 Date: Wed, 20 Aug 2014 06:57:00 -0000 From: Dominik Vogt To: libffi-discuss@sourceware.org Subject: [PING][RFC][PATCH 0/3] Complex type support (FFI_TYPE_COMPLEX) Message-ID: <20140820065718.GA2818@linux.vnet.ibm.com> Reply-To: vogt@linux.vnet.ibm.com References: <20140722092734.GA23937@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140722092734.GA23937@linux.vnet.ibm.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14082006-4966-0000-0000-0000011254D5 X-IsSubscribed: yes X-SW-Source: 2014/txt/msg00079.txt.bz2 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