From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id QdRaJzWy1Wg5bBMAWB0awg (envelope-from ) for ; Thu, 25 Sep 2025 17:20:53 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=MwAvMOgp; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=MwAvMOgp; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 9684D1E0BA; Thu, 25 Sep 2025 17:20:53 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 6C75E1E04C for ; Thu, 25 Sep 2025 17:20:52 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1208D3858415 for ; Thu, 25 Sep 2025 21:20:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1208D3858415 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=MwAvMOgp; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=MwAvMOgp Received: from AM0PR02CU008.outbound.protection.outlook.com (mail-westeuropeazlp170130006.outbound.protection.outlook.com [IPv6:2a01:111:f403:c201::6]) by sourceware.org (Postfix) with ESMTPS id 6DBE43858402 for ; Thu, 25 Sep 2025 21:18:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6DBE43858402 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6DBE43858402 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=2a01:111:f403:c201::6 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1758835127; cv=pass; b=eWy65WyVMCARIAH9xuPjd/Zx3IfD8h4jnMHFlL/YPq99cltG1GqSuBnaz62rilf0TjFHKsV67t+C8qcQ9pxQ+HCZFp8udyp9QJ1bk/MkRTHcNGWSxQi4aT5Ajuv63Dhk9fi4Oz9Oj+dLSdu5etz8WCa7/JjP+SoO6P8qcMbiB0M= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1758835127; c=relaxed/simple; bh=oxBCvohbkTLquFA4G2GScihazO0NA27+u2wxgqGpbKY=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=MjskKtrundBO1wY0AeN4JSdGgQXweYUQqECihnt77MPRm6HqY7H6bsDo6i36mCwTiTCe1vWE60kI5qiizlSfoFFu+7GZL9/wUKBl+sdZNPR2lhHwqXo0TOS/+gjXaghqBqmO2iTrXYqJMDAG9qWWKlQxJPHrtMw/jI6ROzDjz/g= ARC-Authentication-Results: i=3; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6DBE43858402 ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=TVh+bfmFVZIoOXc/R5Qg0lAZIHp2AsXu3yWcOL07dxKK0Sf6R2mzNZUdgrvPVj17aBzRYR4yBYgp+huX9FcS6hFocoIwGzLs9X15cLUFaN7+rmGnXqKmfnxTP7nHeDGm1l9YHHKQedbN0tTqfSKjcpBtZUHGBaqtbj59QMKZa6shgiQar6oUM7kXb2AZztiSOue0DEAsQoBWIa1El24GLtI6grG6CLhTuwYZsaXOCi0vCAc3moEuNjDjmXILZIjM+pVXhToo8k05pP2YsSaB+FhWVPMHBx52oIs1vwau2CoQUeCkmowNX11UxLXrle/GXKMHbunqSeFKnZkrLZ8u5Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=o2Momv/mWrNqC6zP7JzrcCSTz0JDRJ4d6Ye13fzMu/4=; b=xiv21pZ15eRKOnBLVouXWfYl2JHePNls2I1f3KaYjtF5IUy2FtG15VW+YIM0Qb3eMHn6bJcPFX3Rt8r6TIPAQjlOriHU7Ie38J969M/pJDMSJ3pm53ZLhkT6YDW3IPI4ZVWqx7KmW1jVe/gtl6w1SgXs+5Ap9+tQFhbE3J0ylv1svEGlHGF6L6Xyrj5N8fOOBFIYhlLl/bwX5DyfcqoLE91MSlzFnOn6H+SjexzIYusqGVva0xGqZZUxkbHAduvkiI3x77jhdUa/kZMZn2RPBKEMRoajYNmuWx5GqliYRS2B87p+b+8/5qw089wa79loADWRqE0HNqiNqa4jbAz9Dg== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 4.158.2.129) smtp.rcpttodomain=sourceware.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=arm.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=o2Momv/mWrNqC6zP7JzrcCSTz0JDRJ4d6Ye13fzMu/4=; b=MwAvMOgpcfmw6hEbR8dUTWlUx3HXbUsQOEAY/8XPtsX1TG+qEIRukWEm3zNT560Z+BVC/L4g2RYEHWknKAeHJEbNbp/ovFD5ftsRLOvoH5OjjHuBpU0CZji+FdSDS0lxLsIUcbEL9OjHwmROrM61AaYOBWsdOqKN4BwLYGLsfsY= Received: from DU2PR04CA0313.eurprd04.prod.outlook.com (2603:10a6:10:2b5::18) by AM9PR08MB6099.eurprd08.prod.outlook.com (2603:10a6:20b:286::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9160.13; Thu, 25 Sep 2025 21:18:43 +0000 Received: from DB1PEPF000509F8.eurprd02.prod.outlook.com (2603:10a6:10:2b5:cafe::cc) by DU2PR04CA0313.outlook.office365.com (2603:10a6:10:2b5::18) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9137.21 via Frontend Transport; Thu, 25 Sep 2025 21:18:43 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 4.158.2.129) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=arm.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 4.158.2.129 as permitted sender) receiver=protection.outlook.com; client-ip=4.158.2.129; helo=outbound-uk1.az.dlp.m.darktrace.com; pr=C Received: from outbound-uk1.az.dlp.m.darktrace.com (4.158.2.129) by DB1PEPF000509F8.mail.protection.outlook.com (10.167.242.154) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9160.9 via Frontend Transport; Thu, 25 Sep 2025 21:18:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=CvhuWB6hy6W5/rkqeoAC1DjDCpY7FXT5/tWwFFupH5gR35ZEDl8USUnb8evFuZUsUe91TQqmIQlqQhDIIfdl1gClEY0XrQd+zIpKeP9KbALPPfrPDMhMGt2YZ+9L2sHHqMf6VkE5RO1xX6VO14PKDF8f8NW6vUYzxPafFv3mP1xSjVThK2Htj5HWTO/Kw2xKG5OUbEuc47suYfqj8c6s95ypsn9Deoq3tltuKMiwa2i265x6ROf3AqeZB2zduAR3fhDqztgJpJjau4P7l2lXUzqFnZdqrlgNjP6b3YRjINf6QLJyNKS0MDoyIoc3Ov5DlWiy7oL7Zw2AU+O5mQIzAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=o2Momv/mWrNqC6zP7JzrcCSTz0JDRJ4d6Ye13fzMu/4=; b=QiWJm+Pddisf3Hofldrje14M7YMcSeUMEbHdS71yJZBd0shIYK4D0kqJhjWKszlgotgDSXwl69vAq8Ax85ZYeX9EP2Sa/Hi9lHMcOUSTGI7vYydYeC1DoKBJKIABxoMfEfoz6dzkAzTW5nMDAWzBrVWuSl+3rxpvXzgvmFmi9/QpsopWkjudibzwUn0Hv6H8JzlJ+p2x3DX1xfIRKkwV1M3nNkuH0oxm4xAcZbNR3CrGZ3BPOrwW1MBHs0+9xL5nQwQIyxOFk3ZVjbhhqntCVAtC1D8Z2y/PxtKMcQp69UT1uXz5Gmnun3ijUCgcmw9OqdoqjZyDZV/iJUKCHYH1fw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 172.205.89.229) smtp.rcpttodomain=sourceware.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=o2Momv/mWrNqC6zP7JzrcCSTz0JDRJ4d6Ye13fzMu/4=; b=MwAvMOgpcfmw6hEbR8dUTWlUx3HXbUsQOEAY/8XPtsX1TG+qEIRukWEm3zNT560Z+BVC/L4g2RYEHWknKAeHJEbNbp/ovFD5ftsRLOvoH5OjjHuBpU0CZji+FdSDS0lxLsIUcbEL9OjHwmROrM61AaYOBWsdOqKN4BwLYGLsfsY= Received: from AM0PR06CA0109.eurprd06.prod.outlook.com (2603:10a6:208:ab::14) by AS2PR08MB9104.eurprd08.prod.outlook.com (2603:10a6:20b:5fe::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9160.10; Thu, 25 Sep 2025 21:18:09 +0000 Received: from AM3PEPF0000A79C.eurprd04.prod.outlook.com (2603:10a6:208:ab:cafe::93) by AM0PR06CA0109.outlook.office365.com (2603:10a6:208:ab::14) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9160.10 via Frontend Transport; Thu, 25 Sep 2025 21:18:09 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 172.205.89.229) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 172.205.89.229 as permitted sender) receiver=protection.outlook.com; client-ip=172.205.89.229; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (172.205.89.229) by AM3PEPF0000A79C.mail.protection.outlook.com (10.167.16.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9160.9 via Frontend Transport; Thu, 25 Sep 2025 21:18:09 +0000 Received: from AZ-NEU-EXJ02.Arm.com (10.240.25.139) by AZ-NEU-EX04.Arm.com (10.240.25.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.27; Thu, 25 Sep 2025 21:18:08 +0000 Received: from AZ-NEU-EX03.Arm.com (10.240.25.137) by AZ-NEU-EXJ02.Arm.com (10.240.25.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.27; Thu, 25 Sep 2025 21:18:08 +0000 Received: from D2G2X7XGD1.arm.com (10.57.65.168) by mail.arm.com (10.240.25.137) with Microsoft SMTP Server id 15.2.2562.27 via Frontend Transport; Thu, 25 Sep 2025 21:18:08 +0000 From: To: CC: , , Ezra Sitorus Subject: [PATCH 4/4] gdb/aarch64: Tests for verifying fp8 register formats Date: Thu, 25 Sep 2025 22:18:04 +0100 Message-ID: <20250925211804.21967-5-Ezra.Sitorus@arm.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20250925211804.21967-1-Ezra.Sitorus@arm.com> References: <20250925211804.21967-1-Ezra.Sitorus@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AM3PEPF0000A79C:EE_|AS2PR08MB9104:EE_|DB1PEPF000509F8:EE_|AM9PR08MB6099:EE_ X-MS-Office365-Filtering-Correlation-Id: 397143c4-8505-461c-9fbe-08ddfc791b52 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; ARA:13230040|376014|82310400026|36860700013|34020700016|1800799024|13003099007|12100799066; X-Microsoft-Antispam-Message-Info-Original: =?us-ascii?Q?S2p/5bvDIG8o9F0eoMCCs5M4jqAkGoVQ/3fTbUPIuBmBPfx4QN3iJF/Ro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iC26saBIlE0n2Pd+wuhEQ9/eFaZyd8MEfmedxBRR2b+Ps+FT?= =?us-ascii?Q?C3plY4EvGy2Pselvw1HaqftJ+nMJ+EyMf06fFP6gN6xi0E7iv92bxgcw+Zk9?= =?us-ascii?Q?zvfQWJLnZiYiHPzRg/+hJWY+00zAbqLY6quYOD3wkwcScW7S6kGlCcdAXhGH?= =?us-ascii?Q?N9MdmjU+mZ82QY422/HS5W4r7Zdmfi7jvymTbq4kuDVLh0vaFi3o25x18qlo?= =?us-ascii?Q?pZYAwbABc7bQf6/eMQfWGAMrxM6Zujw2rW3rR5BlXtpdCl9+9Rdd6B00QVmM?= =?us-ascii?Q?8V4voNoDzbYAgpvXxVnxHRRTG2dQ0PdhL4Jfh466nRshX7fcrB3CvJct0n1F?= =?us-ascii?Q?paRsioDfoyFix5a1cQ/mwtsDOEOM1DJThpp4RrZLWmIKfU7UFykkk5pMGPzJ?= =?us-ascii?Q?WTeNx0Jvyw2yP6cZeRyhpBmpEIWrgP0YXqKVCZCs4JYY9h/VtH3oCG7oKGJC?= =?us-ascii?Q?Siq6ST0wxRqaeNZgHk2YHa5FMlR38+Nxv1ycnXL+ZJQQdY1MRW/vomQSVp2+?= =?us-ascii?Q?RwWcH0py4Vk6TttJwUGCqSzYcVS99VXQNprSfLbtox8/36n8S5qgfWBtOnCn?= =?us-ascii?Q?qeEkIBXr7rh4/T5pF6IGkT2yl9bEDvtl3/8if90g9ZKYFJHEkUJK+s5Wig?= =?us-ascii?Q?=3D=3D?= X-Forefront-Antispam-Report-Untrusted: CIP:172.205.89.229; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:nebula.arm.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(376014)(82310400026)(36860700013)(34020700016)(1800799024)(13003099007)(12100799066); DIR:OUT; SFP:1501; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR08MB9104 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB1PEPF000509F8.eurprd02.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 65a1c5a0-00f6-430a-710a-08ddfc79071e X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|12022799006|14060799003|1800799024|82310400026|36860700013|35042699022|13003099007; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?uWjDv6TYSEgb7fZBNVrwMz7b20MaGjQtcuxtt6q3qnp+6aK0IGUpO58C8YSR?= =?us-ascii?Q?zeHGEzWNZbhdb7obZtRSQRK2+eMi5B8TNFvNV1WvoDVcySIpaow67lMiCREi?= =?us-ascii?Q?pSG4bJ14YN39vvQVhaoONV5UAPOfPIxbmueMYW5kJDEUw7xrKn0+dlWjdvDr?= =?us-ascii?Q?xf8zetOKowSWwBVnxjlcCpE9+xLUGnNJXmHba7Qb3OSdBEGOk5XRR/TcMubO?= =?us-ascii?Q?lCyIOsGogLjgqUB2Bs/MdYcrBSDAeGiGBDeQa0AAs+Imu5ffgtquUg7E/Ito?= =?us-ascii?Q?xcsthJob/P5ncENpGTT9mVX/fmZJzJK9YM+0b/0sVrO+6mlNfvcctkBIrw5D?= =?us-ascii?Q?RVDxNNqEyOxhjO8u7+uhGlZvP0/jsgqBSZGPgbCxOt80+UqTSvTIfEubfefJ?= =?us-ascii?Q?7y88XmooxJQrPKk+CNCI4uUxy2kuPDcpo11bt72NQ15fQtygxtjeXqopObli?= =?us-ascii?Q?sxIKcFy78mjE64W49J29UyZxabKZJbB7xsLfng09wBWnu9UwI1c/tfUC3ctD?= =?us-ascii?Q?RzgmWePz10i90pHydn8yWiXlQUGDlwxB13lEJYhTDwIp40496nk3NCzAmV1k?= =?us-ascii?Q?tIx11+ugHo+rmOdoZPfPK5JgnRCxR5hoKFU58A0C4nSrErpGRS9TLfH2NCti?= =?us-ascii?Q?GFAMA9ZqZH2wLNW/XEig8fytnLB8Dt0I38iFeXO26j2c4m2+R3KG4/ssmOMu?= =?us-ascii?Q?uVjm6G2ZeQ2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129; CTRY:GB; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:outbound-uk1.az.dlp.m.darktrace.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(376014)(12022799006)(14060799003)(1800799024)(82310400026)(36860700013)(35042699022)(13003099007); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Sep 2025 21:18:43.4954 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 397143c4-8505-461c-9fbe-08ddfc791b52 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[4.158.2.129]; Helo=[outbound-uk1.az.dlp.m.darktrace.com] X-MS-Exchange-CrossTenant-AuthSource: DB1PEPF000509F8.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB6099 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org From: Ezra Sitorus The non-SVE version tests the V + B registers. The SVE version tests the Z, V and B registers. --- gdb/testsuite/gdb.arch/aarch64-fp8-reg.c | 49 ++++++++++++++++++++++ gdb/testsuite/gdb.arch/aarch64-fp8-reg.exp | 42 +++++++++++++++++++ gdb/testsuite/gdb.arch/aarch64-fp8-sve.c | 49 ++++++++++++++++++++++ gdb/testsuite/gdb.arch/aarch64-fp8-sve.exp | 45 ++++++++++++++++++++ 4 files changed, 185 insertions(+) create mode 100644 gdb/testsuite/gdb.arch/aarch64-fp8-reg.c create mode 100644 gdb/testsuite/gdb.arch/aarch64-fp8-reg.exp create mode 100644 gdb/testsuite/gdb.arch/aarch64-fp8-sve.c create mode 100644 gdb/testsuite/gdb.arch/aarch64-fp8-sve.exp diff --git a/gdb/testsuite/gdb.arch/aarch64-fp8-reg.c b/gdb/testsuite/gdb.arch/aarch64-fp8-reg.c new file mode 100644 index 00000000000..cd85138c176 --- /dev/null +++ b/gdb/testsuite/gdb.arch/aarch64-fp8-reg.c @@ -0,0 +1,49 @@ +/* This test program is part of GDB, the GNU debugger. + + Copyright 2024-2025 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +int +main (void) +{ + char e4m3[] = { 0b00000001, 0b00000000, 0b10000000, 0b01111010, + 0b01111011, 0b01111100, 0b01111101, 0b01111110, + 0b01111111, 0b00001000, 0b01110000, 0b01111111, + 0b11111111, 0b01111110, 0b11111110, 0b0 }; + + char e5m2[] = { 0b00000001, 0b00000011, 0b00000100, 0b01110000, + 0b01111100, 0b01111101, 0b01111110, 0b11111111, + 0b11111100, 0b11111101, 0b11111110, 0b11111111, + 0b0, 0b10000000, 0b0, 0b0 }; + + long val; + void *addr = &e4m3[0]; + __asm __volatile ("ldr %x0, [%1]\n\t" + "ldr q0, [%x0]" + : "=r"(val) + : "r"(&addr) + : "q0"); + /* CHECK_E4M3 */ + + addr = &e5m2[0]; + __asm __volatile ("ldr %x0, [%1]\n\t" + "ldr q0, [%x0]" + : "=r"(val) + : "r"(&addr) + : "q0"); + + /* CHECK_E5M2 */ + return 1; +} diff --git a/gdb/testsuite/gdb.arch/aarch64-fp8-reg.exp b/gdb/testsuite/gdb.arch/aarch64-fp8-reg.exp new file mode 100644 index 00000000000..41f4dcf38ea --- /dev/null +++ b/gdb/testsuite/gdb.arch/aarch64-fp8-reg.exp @@ -0,0 +1,42 @@ +# Copyright 2025 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# This test checks that GDB correctly displays FP8 formats in AArch64 +# vector registers. + +require is_aarch64_target + +standard_testfile +if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } { + return -1 +} + +if ![runto_main] { + return -1 +} + +set e4m3_breakpoint "CHECK_E4M3" +gdb_breakpoint [gdb_get_line_number $e4m3_breakpoint] +gdb_continue_to_breakpoint "Continue until E4M3 check" + +gdb_test "p \$v0.b.e4m3" "v0.b.e4m3.* = \{ ?0.00195, ?0, ?-0, ?320, ?352, ?384, ?416, ?448, ?nan\\(0x7\\), ?0.0156, ?128, ?nan\\(0x7\\), ?-nan\\(0x7\\), ?448, ?-448, ?0\}" "e4m3 register check" +gdb_test "p \$b0.e4m3" "b0.e4m3.* = 0.00195" "e4m3 b pseudo-register check" + +set e5m2_breakpoint "CHECK_E5M2" +gdb_breakpoint [gdb_get_line_number $e5m2_breakpoint] +gdb_continue_to_breakpoint "Continue until E5M2 check" + +gdb_test "p \$v0.b.e5m2" "v0.b.e5m2.* = \{ ?1.5e-05, ?4.6e-05, ?6.1e-05, ?8.2e\\+03, ?inf, ?nan\\(0x1\\), ?nan\\(0x2\\), ?-nan\\(0x3\\), ?-inf, ?-nan\\(0x1\\), ?-nan\\(0x2\\), ?-nan\\(0x3\\), ?0, ?-0, ?0, ?0\}" "e5m2 register check" +gdb_test "p \$b0.e5m2" "b0.e5m2.* = 1.5e-05" "e5m2 b pseudo-register check" diff --git a/gdb/testsuite/gdb.arch/aarch64-fp8-sve.c b/gdb/testsuite/gdb.arch/aarch64-fp8-sve.c new file mode 100644 index 00000000000..cd85138c176 --- /dev/null +++ b/gdb/testsuite/gdb.arch/aarch64-fp8-sve.c @@ -0,0 +1,49 @@ +/* This test program is part of GDB, the GNU debugger. + + Copyright 2024-2025 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +int +main (void) +{ + char e4m3[] = { 0b00000001, 0b00000000, 0b10000000, 0b01111010, + 0b01111011, 0b01111100, 0b01111101, 0b01111110, + 0b01111111, 0b00001000, 0b01110000, 0b01111111, + 0b11111111, 0b01111110, 0b11111110, 0b0 }; + + char e5m2[] = { 0b00000001, 0b00000011, 0b00000100, 0b01110000, + 0b01111100, 0b01111101, 0b01111110, 0b11111111, + 0b11111100, 0b11111101, 0b11111110, 0b11111111, + 0b0, 0b10000000, 0b0, 0b0 }; + + long val; + void *addr = &e4m3[0]; + __asm __volatile ("ldr %x0, [%1]\n\t" + "ldr q0, [%x0]" + : "=r"(val) + : "r"(&addr) + : "q0"); + /* CHECK_E4M3 */ + + addr = &e5m2[0]; + __asm __volatile ("ldr %x0, [%1]\n\t" + "ldr q0, [%x0]" + : "=r"(val) + : "r"(&addr) + : "q0"); + + /* CHECK_E5M2 */ + return 1; +} diff --git a/gdb/testsuite/gdb.arch/aarch64-fp8-sve.exp b/gdb/testsuite/gdb.arch/aarch64-fp8-sve.exp new file mode 100644 index 00000000000..ef79f0fd036 --- /dev/null +++ b/gdb/testsuite/gdb.arch/aarch64-fp8-sve.exp @@ -0,0 +1,45 @@ +# Copyright 2025 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# This test checks that GDB correctly displays FP8 formats in AArch64 +# vector registers. + +require is_aarch64_target +require allow_aarch64_sve_tests + +standard_testfile +if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } { + return -1 +} + +if ![runto_main] { + return -1 +} + +set e4m3_breakpoint "CHECK_E4M3" +gdb_breakpoint [gdb_get_line_number $e4m3_breakpoint] +gdb_continue_to_breakpoint "Continue until E4M3 check" + +gdb_test "p \$z0.b.e4m3" "z0.b.e4m3.* = \{ ?0.00195, ?0, ?-0, ?320, ?352, ?384, ?416, ?448, ?nan\\(0x7\\), ?0.0156, ?128, ?nan\\(0x7\\), ?-nan\\(0x7\\), ?448, ?-448, ?0.*\}" "e4m3 z register check" +gdb_test "p \$v0.b.e4m3" "v0.b.e4m3.* = \{ ?0.00195, ?0, ?-0, ?320, ?352, ?384, ?416, ?448, ?nan\\(0x7\\), ?0.0156, ?128, ?nan\\(0x7\\), ?-nan\\(0x7\\), ?448, ?-448, ?0\}" "e4m3 v pseudo register check" +gdb_test "p \$b0.e4m3" "b0.e4m3.* = 0.00195" "e4m3 b pseudo-register check" + +set e5m2_breakpoint "CHECK_E5M2" +gdb_breakpoint [gdb_get_line_number $e5m2_breakpoint] +gdb_continue_to_breakpoint "Continue until E5M2 check" + +gdb_test "p \$z0.b.e5m2" "z0.b.e5m2.* = \{ ?1.5e-05, ?4.6e-05, ?6.1e-05, ?8.2e\\+03, ?inf, ?nan\\(0x1\\), ?nan\\(0x2\\), ?-nan\\(0x3\\), ?-inf, ?-nan\\(0x1\\), ?-nan\\(0x2\\), ?-nan\\(0x3\\), ?0, ?-0, ?0.*\}" "e5m2 z register check" +gdb_test "p \$v0.b.e5m2" "v0.b.e5m2.* = \{ ?1.5e-05, ?4.6e-05, ?6.1e-05, ?8.2e\\+03, ?inf, ?nan\\(0x1\\), ?nan\\(0x2\\), ?-nan\\(0x3\\), ?-inf, ?-nan\\(0x1\\), ?-nan\\(0x2\\), ?-nan\\(0x3\\), ?0, ?-0, ?0, ?0\}" "e5m2 v pseudo register check" +gdb_test "p \$b0.e5m2" "b0.e5m2.* = 1.5e-05" "e5m2 b pseudo-register check" -- 2.45.2