From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67954 invoked by alias); 22 Apr 2015 17:58:33 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 67942 invoked by uid 89); 22 Apr 2015 17:58:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: e06smtp17.uk.ibm.com Received: from e06smtp17.uk.ibm.com (HELO e06smtp17.uk.ibm.com) (195.75.94.113) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 22 Apr 2015 17:58:32 +0000 Received: from /spool/local by e06smtp17.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 22 Apr 2015 18:58:29 +0100 Received: from d06dlp02.portsmouth.uk.ibm.com (9.149.20.14) by e06smtp17.uk.ibm.com (192.168.101.147) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 22 Apr 2015 18:58:27 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 02938219004D for ; Wed, 22 Apr 2015 18:58:11 +0100 (BST) Received: from d06av06.portsmouth.uk.ibm.com (d06av06.portsmouth.uk.ibm.com [9.149.37.217]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t3MHwRH47668204 for ; Wed, 22 Apr 2015 17:58:27 GMT Received: from d06av06.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av06.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t3MCqko6029776 for ; Wed, 22 Apr 2015 08:52:46 -0400 Received: from br87z6lw.de.ibm.com (dyn-9-152-212-115.boeblingen.de.ibm.com [9.152.212.115]) by d06av06.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t3MCqjau029766; Wed, 22 Apr 2015 08:52:46 -0400 From: Andreas Arnez To: gdb-patches@sourceware.org Cc: Sergio Durigan Junior , Ulrich Weigand Subject: Re: [PATCH 4/4] S390: Vector ABI support References: <1429724743-4603-1-git-send-email-arnez@linux.vnet.ibm.com> <874mo882zc.fsf@br87z6lw.de.ibm.com> Date: Wed, 22 Apr 2015 17:58:00 -0000 In-Reply-To: <874mo882zc.fsf@br87z6lw.de.ibm.com> (Andreas Arnez's message of "Wed, 22 Apr 2015 19:52:39 +0200") Message-ID: <87zj606o59.fsf@br87z6lw.de.ibm.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15042217-0029-0000-0000-000004510047 X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00834.txt.bz2 On Wed, Apr 22 2015, Andreas Arnez wrote: > gdb/ChangeLog: > > * s390-linux-tdep.c: Include "elf/s390.h" and "elf-bfd.h". > (enum s390_vector_abi_kind): New enum. > (struct gdbarch_tdep): New field. > (s390_effective_inner_type): Add parameter min_size. Stop > unwrapping if the inner type is smaller than min_size. > (s390_function_arg_float): Adjust call to > s390_effective_inner_type. > (s390_function_arg_vector): New function. > (s390_function_arg_integer): Adjust comment. > (struct s390_arg_state): New field. > (s390_handle_arg): Add parameter 'is_vararg'. Pass vector > arguments according to vector ABI when appropriate. > (s390_push_dummy_call): Initialize the argument state's field > 'vr'. Adjust calls to s390_handle_arg. > (s390_register_return_value): Handle vector return values. > (s390_return_value): Apply the "register" return value convention > to a vector when appropriate. > (s390_gdbarch_init): Initialize tdep->vector_abi. > * NEWS: Announce S390 vector ABI support. Note that this patch depends on the definition of Tag_GNU_S390_ABI_Vector. This is added to include/elf/s390.h by the following Binutils patch: https://sourceware.org/ml/binutils/2015-04/msg00316.html -- Andreas