From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2063.outbound.protection.outlook.com [40.107.22.63]) by sourceware.org (Postfix) with ESMTPS id 7E7D33858C52 for ; Mon, 12 Feb 2024 23:42:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7E7D33858C52 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 7E7D33858C52 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.22.63 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1707781354; cv=pass; b=UPgpWkOjgM1gSbk8lP8TBABbLSEAxtcDFDH4muSehzYqMAfFvGQOvt8CeLai+O1UfCWN2CeG/HbqllbWNFs1wq3v+x6aa1g/S2Gwoc9QMd+58Re6mqFbwgxgLZ7tLhZdOwEshW0mpaMhcHw9HxMgBAnRlkZWhTcF69RWWs08txc= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1707781354; c=relaxed/simple; bh=RNlmw4ZcanVm6/OAE68XMgEiyGE0WsyRna28ZGquowY=; h=DKIM-Signature:DKIM-Signature:Message-ID:Date:Subject:To:From: MIME-Version; b=RiiFjg05AqB/e723FZh7YlPtV3eUwVCG61Fy7GKDDQipQlCD/h/ULYv4e8u77tTv8b0R4T26mHNkUj3M3001lt9ezC+42oh/G2BtyHfwUwkyVPlKxaJuuVzmtXkcqQXnzNy0jLPweryt5NqIqpd4K4eyCIAz60zfEiEWo0ySHcI= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=iK1ee0w3mfovET4KxLaWajxP17X9ycSP9BZBYBaVxFOuJ16mTAprYKrDsMkHPgCPef4ONYY/vQeAP7NpcPuUWgM2yyXly/dLA3SZtwr6EVWShgJXBFO98Roq1PXiy80+KfNAFsk2dxdXvCcEz4JO4yRQ27L5vTv8ef86YDDhXo1cJH7VA7nwRIwK9PWzeI0VzhDZzMKe7KfMXw4L5G0ZF8WHcBNx/BQ46J2jpEDtu8SAZLzz1u8s7AG5gPGNkHCyQUVXuYrnxp94nZGXo95RmXTgMhOb0tBmJGChRkZA7/aLUBVqvKWGGBowARBMH5Cl/g6FefsbSeRrvOVMp5fakg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=7mu87YLSJ7j2zvEEW1Z3zCSbr0aQTJmNpJjaonNEVF8=; b=YENVLbTa1cdvD8XtD71zxS9fD6WYs4h6UG/Bo+VaN1zK5DDCvbByfZ+LvHkElfzeC1/mbCRG89LmbCtQYxvW179DeehbUrNUnRPgXAIYmGRnl/B2L8LdSU5AC1+rgoIjcNes/Dumd9lMlDNz7efnbKWjxfBOoqa81RO359aVpwXeZEx0ZmtwvO0lhrubW03+reIf3Oyvg1/u8IvFu+0Ukm4bkaBLMDtak6o/8rgndCn/5q0jr2eFWbGrmkX/hL7l7u49svMWMmvhtbIRCGl5Uto5sx5FGzZWHW6oB3AHcZLmwox91wo1gxEO4dhueaGxqjNNc5Yv8JGLRuFhVMh5WA== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) 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=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7mu87YLSJ7j2zvEEW1Z3zCSbr0aQTJmNpJjaonNEVF8=; b=2psfzUzbLRLjfoCNWx6FoE6c6waBKmwFNFFYjziVHWv0SY47HoIH1TVKa7z/u3O6MBJjAfl4x5XYR9MHP//s8PueZXiflwKPfwJOnSoQrjz+2CclPvTWxcssSfOL2VwzaY8pxXXqPsr0hemr2NVhWdkygwr7h68Rdp27Rl5ugS0= Received: from AS4P189CA0046.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:659::11) by GV1PR08MB7873.eurprd08.prod.outlook.com (2603:10a6:150:5c::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.35; Mon, 12 Feb 2024 23:42:26 +0000 Received: from AM4PEPF00025F97.EURPRD83.prod.outlook.com (2603:10a6:20b:659:cafe::f2) by AS4P189CA0046.outlook.office365.com (2603:10a6:20b:659::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.38 via Frontend Transport; Mon, 12 Feb 2024 23:42:26 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM4PEPF00025F97.mail.protection.outlook.com (10.167.16.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.0 via Frontend Transport; Mon, 12 Feb 2024 23:42:24 +0000 Received: ("Tessian outbound 94d82ba85b1d:v228"); Mon, 12 Feb 2024 23:42:24 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 8be8b863d6facdc4 X-CR-MTA-TID: 64aa7808 Received: from 7ba711ce46ed.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id D54943C8-3797-43B5-96B0-EB35A5FF7682.1; Mon, 12 Feb 2024 23:42:18 +0000 Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 7ba711ce46ed.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 12 Feb 2024 23:42:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oBuVo6zEzy+HmGBw2jqDQt2Ic906PWTQqnXET7N/cPgPi752q2F/N+cr01i2nKhOAyJxDe4/sGBDc7WuCZNPmavYH3/arfnEDR6X3U9NlnMOywkObh+XOFAEgSLPB7sqv0V+3bHiQRGrKMxZgwq19u2W4kCSiQnmEAoJ9S5fbLk9oqe+LSTygecbivLtU8XJyrWLPSHKnE5k3aOs2Y+3TJtbkhbNoLqgxMO9Ub83lJrWiJKFpVrpPyLsSpSiIq7as8J8+DoyFKKJnMHLbZaWbfYKKlYHNWHPF9DA2oh0eU/XxNLfVowd7U0R23H6Wnq0ZLXSm6k0lCf81KaDc2nUNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=7mu87YLSJ7j2zvEEW1Z3zCSbr0aQTJmNpJjaonNEVF8=; b=A1iIbQlFlQpucKK97Wwx+vxokARgZ083dqn7MnwD/Auj+fk4vta9EkTbOUomak1wWtXWkvX99y12IIvb+EyTNrRh8CWD3IjJqrJXW/53/hJEGdWPHMiQW54qJ6ftrcFFmiuxZHyu/zp0ivkdq4MMD6bx7lsDGTB5wrumum063aEyZldJLBD/ElFpAgno+/XdacDYcFRqUp0GArLb4UhzpO6hhVAGo0eFJtlqvhn7o5/sbpxgbuZh1tiggC8E8D+ZG2bYrazoNZdS9i5pFglG7DIYTM2pyi46MtJwhoTPSrK8VyrCv9k34r3Uw5Vo3kmlaBtpZzI4pSa3kdSwi/mVIA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7mu87YLSJ7j2zvEEW1Z3zCSbr0aQTJmNpJjaonNEVF8=; b=2psfzUzbLRLjfoCNWx6FoE6c6waBKmwFNFFYjziVHWv0SY47HoIH1TVKa7z/u3O6MBJjAfl4x5XYR9MHP//s8PueZXiflwKPfwJOnSoQrjz+2CclPvTWxcssSfOL2VwzaY8pxXXqPsr0hemr2NVhWdkygwr7h68Rdp27Rl5ugS0= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from VE1PR08MB4893.eurprd08.prod.outlook.com (2603:10a6:802:aa::13) by DB9PR08MB6634.eurprd08.prod.outlook.com (2603:10a6:10:23f::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.39; Mon, 12 Feb 2024 23:42:15 +0000 Received: from VE1PR08MB4893.eurprd08.prod.outlook.com ([fe80::9715:7d78:1fc0:9cc0]) by VE1PR08MB4893.eurprd08.prod.outlook.com ([fe80::9715:7d78:1fc0:9cc0%6]) with mapi id 15.20.7270.033; Mon, 12 Feb 2024 23:42:15 +0000 Message-ID: <7d26c9ec-8816-4643-a5e8-8162803971d9@arm.com> Date: Mon, 12 Feb 2024 23:42:11 +0000 User-Agent: Mozilla Thunderbird Subject: Re: your patch enabling Arm64's GCS extension Content-Language: en-US To: Jan Beulich Cc: Binutils , Richard Earnshaw , Marcus Shawcroft , Nick Clifton References: <671d046a-5592-4099-bf2f-5ccb08d166d6@suse.com> From: Srinath Parvathaneni In-Reply-To: <671d046a-5592-4099-bf2f-5ccb08d166d6@suse.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0283.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a1::31) To VE1PR08MB4893.eurprd08.prod.outlook.com (2603:10a6:802:aa::13) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: VE1PR08MB4893:EE_|DB9PR08MB6634:EE_|AM4PEPF00025F97:EE_|GV1PR08MB7873:EE_ X-MS-Office365-Filtering-Correlation-Id: 39f9c9d9-d543-4e73-bb5a-08dc2c244469 X-LD-Processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: JSaLwfE9ozI8DvIhgIVMtvYJAMGw4rBqgDmvk6E4CHed8PN682VDxKmfgxwtU0yA8DUinz0CM3kRXaGWl0JwXIGa2CyABunjRj1CrYDff4BfBPIGavEODFGpKPZtMJ31vDs3V0/wACUdjXzDejD5reSE7LdV0vFKT5hcqy7LkSFu+q3KG2bb69ayG6y0nzBN5w2Fu4q8uS2m2CSC5+n9b9V8x0Qm/KpGXzRgkQR9+e+//xoRJEapkrdN24pnXP9CGBrTKD4HONm7o6PKtlpPYjWnvffXknvZTpB6712R3IiK5k9qSKO0rpBSUL2jM6rp0H4S+0q5zkMS3ABQ9OLe5zGOCjxMltuL1cACEQwJD+cQOwa+C/BAGcQ44mmW4AOqQs42l1d5trBgDgFbPrFoP6aXzBnBeLLmew4uux5LX43GpH+Guxux4gGDDsBuK+dAw5jzRuXnYc+pAdwmD9ofUcRKuwLJKgtmI3fkLlQrbil8ehqIFOWNtPxBeylsCu2OTSTvrCcX0yiouPRSXqsHjTvcycF5pXPtnGrcgMhl6Rc= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR08MB4893.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366004)(396003)(346002)(136003)(376002)(39860400002)(230922051799003)(64100799003)(1800799012)(186009)(451199024)(966005)(53546011)(2616005)(41300700001)(6486002)(6506007)(6512007)(478600001)(31686004)(66946007)(4326008)(6916009)(5660300002)(44832011)(2906002)(66476007)(8676002)(66556008)(8936002)(54906003)(6666004)(316002)(26005)(83380400001)(36756003)(38100700002)(31696002)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB6634 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM4PEPF00025F97.EURPRD83.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 68e23835-87f6-486a-824c-08dc2c243e17 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8OXLzmY4Kiqx9qE342/luVQ6bl4ppjkOv5Uta75i0r1xJfchHTcC/6LEP31HrVe8mTTMD/xcuBNbWNJthZpK4KHrdxUx+oSij3pmwNg+mSKvb0QIaRuPyaS1bA6j10lU0UmXXjEHsNLLHK08fKGXm2GuOKbrd4N6O7A0wpKQvrvjzuC3QTCP4npAVBvM/daObwZZi1f+m1PJ93zxV2/92mXEaWOFPFAzON1un8MBtH+VGcV1SmxXjx1eB/UvaeNQj99Ls7nSIkoQakMDug1YA3QU4GLz8vLkPTWerbf4N4Dwhrb0GGGzbICDBUR5K3g19AGWdaJ43nmU35jXvTVTmMx29pe8086NlLdpifkOaETCY5QHJMxREsYxzmjsYBkSD1ocDqfar0OpF8bijsqFUznuDoHFTw56oQsHOiMd3UVeda8P0Dgv75bkZNWc6kcrLR1had6KmUIoqUb6FxX3K/dkVW7B5gEDUe0UlXOnfNIjP7sY/dFfqTSuyzEUT3EiLlJPK5dRpUoZ5F1qZDSGUiQI4LCNtPNR6L8wUtsgc0K9PDEx4P4mVvVESXxoX/GvEgUMPesfJUbudGzwobfUjg== X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(13230031)(4636009)(396003)(376002)(346002)(136003)(39860400002)(230922051799003)(1800799012)(82310400011)(186009)(64100799003)(451199024)(40470700004)(36840700001)(46966006)(5660300002)(44832011)(2906002)(31686004)(41300700001)(2616005)(336012)(26005)(107886003)(36756003)(356005)(478600001)(966005)(6486002)(53546011)(6506007)(54906003)(316002)(83380400001)(4326008)(8936002)(6666004)(70586007)(6862004)(8676002)(70206006)(82740400003)(81166007)(86362001)(6512007)(31696002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Feb 2024 23:42:24.5804 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 39f9c9d9-d543-4e73-bb5a-08dc2c244469 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM4PEPF00025F97.EURPRD83.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR08MB7873 X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,FORGED_SPF_HELO,KAM_DMARC_NONE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Jan, On 2/12/2024 7:39 AM, Jan Beulich wrote: > Srinath, > > may I ask against what specification this was written? There are two > aspects I can't bring in line with what DDI0596 from December has, i.e. > even newer than the patch (dating back to October): > > 1) gcspopcx, gcspopx, and gcspushx supposedly all have an optional > register operand, which gas 2.42 doesn't accept. My understanding from the following specs is that the above mentioned instructions does not take any optional arguments and this is aligned with LLVM compiler behaviour. https://developer.arm.com/documentation/ddi0601/2023-12/AArch64-Instructions/GCSPUSHX--Guarded-Control-Stack-Push-exception-return-record?lang=en However, I am unsure about the statement "The value in the register by is ignored" in the specs and need further clarification. I will discuss this internally and get back to you with an update. > 2) gcsstr and gcssttr supposedly have a memory-form 2nd operand, i.e. > a register name enclosed in square brackets. Gas 2.42 expects a > plain register name instead. I agree this is a coding bug, I will create a bugzilla ticket and work on fixing this issue. Thank You. Regards, Srinath > Despite being newer it's of course possible that documentation is what > actually needs fixing. Can you please clarify which way it is? > > Thanks, Jan