From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 98126 invoked by alias); 21 Jun 2018 15:02:30 -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 97583 invoked by uid 89); 21 Jun 2018 15:02:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 spammy= X-HELO: sessmg22.ericsson.net Received: from sessmg22.ericsson.net (HELO sessmg22.ericsson.net) (193.180.251.58) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 21 Jun 2018 15:02:27 +0000 Received: from ESESSMB501.ericsson.se (Unknown_Domain [153.88.183.119]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id 8D.DA.31169.10EBB2B5; Thu, 21 Jun 2018 17:02:25 +0200 (CEST) Received: from ESESBMB505.ericsson.se (153.88.183.172) by ESESSMB501.ericsson.se (153.88.183.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Thu, 21 Jun 2018 17:02:23 +0200 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (153.88.183.157) by ESESBMB505.ericsson.se (153.88.183.172) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3 via Frontend Transport; Thu, 21 Jun 2018 17:02:23 +0200 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=simon.marchi@ericsson.com; Received: from [142.133.60.192] (192.75.88.130) by BYAPR15MB2389.namprd15.prod.outlook.com (2603:10b6:a02:8c::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.863.19; Thu, 21 Jun 2018 15:02:18 +0000 Subject: Re: [PATCH v2 3/3] Use partial register read/writes in transfer_regset To: Alan Hayward , CC: References: <20180621093802.79342-1-alan.hayward@arm.com> <20180621093802.79342-4-alan.hayward@arm.com> From: Simon Marchi Message-ID: <0334197a-6c3c-78ac-776d-161d19847704@ericsson.com> Date: Thu, 21 Jun 2018 15:02:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180621093802.79342-4-alan.hayward@arm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SN6PR04CA0069.namprd04.prod.outlook.com (2603:10b6:805:2a::46) To BYAPR15MB2389.namprd15.prod.outlook.com (2603:10b6:a02:8c::29) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6c876edd-f4aa-4472-4f28-08d5d787fc6a X-MS-TrafficTypeDiagnostic: BYAPR15MB2389: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Forefront-PRVS: 07106EF9B9 Received-SPF: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts) SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2018 15:02:18.9939 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6c876edd-f4aa-4472-4f28-08d5d787fc6a X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 92e84ceb-fbfd-47ab-be52-080c6b87953f X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR15MB2389 X-OriginatorOrg: ericsson.com X-IsSubscribed: yes X-SW-Source: 2018-06/txt/msg00519.txt.bz2 On 2018-06-21 05:38 AM, Alan Hayward wrote: > This avoids assert failures when the register is bigger than the > slot size. This happens on Aarch64 when truncating Z registers > into an fpsimd structure. Oh, and can you mention in the commit log that this happens when using generate-core-file? It could help if somebody wants to test it in the future. Thanks, Simon