From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 68872 invoked by alias); 27 Sep 2017 17:09:27 -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 68863 invoked by uid 89); 27 Sep 2017 17:09:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0b-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.158.5) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 27 Sep 2017 17:09:25 +0000 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v8RH9FnC072481 for ; Wed, 27 Sep 2017 13:09:24 -0400 Received: from e06smtp10.uk.ibm.com (e06smtp10.uk.ibm.com [195.75.94.106]) by mx0b-001b2d01.pphosted.com with ESMTP id 2d8cutbtjf-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 27 Sep 2017 13:09:23 -0400 Received: from localhost by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 27 Sep 2017 18:09:21 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp10.uk.ibm.com (192.168.101.140) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 27 Sep 2017 18:09:19 +0100 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v8RH9JWc19595442; Wed, 27 Sep 2017 17:09:19 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5D3515203F; Wed, 27 Sep 2017 17:04:07 +0100 (BST) Received: from oc3748833570.ibm.com (unknown [9.152.213.178]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id 4DA3352041; Wed, 27 Sep 2017 17:04:07 +0100 (BST) Received: by oc3748833570.ibm.com (Postfix, from userid 1000) id B89B2D835F0; Wed, 27 Sep 2017 19:09:18 +0200 (CEST) Subject: Re: [RFC][03/19] Target FP: Complete tdep move to convert_typed_floating To: uweigand@de.ibm.com (Ulrich Weigand) Date: Wed, 27 Sep 2017 17:09:00 -0000 From: "Ulrich Weigand" Cc: simon.marchi@polymtl.ca (Simon Marchi), gdb-patches@sourceware.org In-Reply-To: <20170920163237.7C401D83593@oc3748833570.ibm.com> from "Ulrich Weigand" at Sep 20, 2017 06:32:37 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 17092717-0040-0000-0000-000003DDA802 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17092717-0041-0000-0000-000025DEF6CF Message-Id: <20170927170918.B89B2D835F0@oc3748833570.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-09-27_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1709270237 X-SW-Source: 2017-09/txt/msg00837.txt.bz2 > ChangeLog: > > * arm-tdep.c: Do not include "floatformat.h". > (convert_from_extended): Remove. > (convert_to_extended): Likewise. > (arm_extract_return_value): Use convert_typed_floating. > (arm_store_return_value): Likewise. > > * sh-tdep.h (struct gdbarch_tdep): Add sh_littlebyte_bigword_type. > * sh-tdep.c: Do not include "floatformat.h". > (sh_littlebyte_bigword_type): New function. > (sh_register_convert_to_virtual): Use convert_typed_floating. > (sh_register_convert_to_raw): Likewise. > * sh64-tdep.c: Do not include "floatformat.h". > (struct gdbarch_tdep): Add sh_littlebyte_bigword_type. > (sh64_littlebyte_bigword_type): New function. > (sh64_extract_return_value): Use convert_typed_floating. > (sh64_register_convert_to_virtual): Likewise. > (sh64_register_convert_to_raw): Likewise. I've pushed this now. Bye, Ulrich -- Dr. Ulrich Weigand GNU/Linux compilers and toolchain Ulrich.Weigand@de.ibm.com