Message ID | 20231026140740.3833021-1-victor.donascimento@arm.com |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:d641:0:b0:403:3b70:6f57 with SMTP id cy1csp703337vqb; Thu, 26 Oct 2023 07:08:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFHWZzyyww/cy1PvXPRT07sD/GLYTH0N4JFfFxQnSKsO1B8YRoPBYw3GPH7JDW1rPqM2A4N X-Received: by 2002:a05:620a:3710:b0:767:82e8:eb88 with SMTP id de16-20020a05620a371000b0076782e8eb88mr21618961qkb.7.1698329323879; Thu, 26 Oct 2023 07:08:43 -0700 (PDT) ARC-Seal: i=4; a=rsa-sha256; t=1698329323; cv=pass; d=google.com; s=arc-20160816; b=o3GCfbUbtYag/EAqZ39RlSObreDpndD6nRx0SH/KmZuneaP/GHfd7VJ9TbjNHJizcI wklO/26IGd2XkkYhezawHxCgcSAgPSB1gpIoaO1rFXN+iwa364fXxedclIIjPLe8konG tQmrYPpyBWzRikla5OY0qbQRqS2Z9BMiwm5KD0wrDFEPaHwbT0qo3YqigpGAwXgaM/8I 24NkGrvL7/pKafqYSoOcRrRGqIa+frREqzBo00itZY/BmllQzQJHlItsZQXQ2FCqi67f Yrb6VLQ32OeNMB7aU6IkmkVjSaLUr5EpcU1gMTEtkWGmPlwkYonfk9xODvdlgy45jy/6 Shqg== ARC-Message-Signature: i=4; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:nodisclaimer :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature:dkim-signature:arc-filter:dmarc-filter :delivered-to; bh=aLbgN22w26+utmJK7puFVTG8cWPOyirlDMbIjf5yx3g=; fh=puYCM8FRHzins9HjEsl9lyIrPa8b21rR+m5ND3mNx7M=; b=s0jX5vwU5GlAZ0U4HhuUBTI1JPIATguG+xMdfi3lwViP+c8F8if8h6Ak6VyW0OPYPn 61ll+yS2AoqS3daFO3Ibqv6cCGrfuFifFQ5ApVt6mcDkzLrSkAXhM5FYV2N+CwvUYp0x 7PHrlRJ9S9PW51zPDljSvIi3XasoQ6P5KtzceyIwZTmiqkaAWW9fGS8+IPQeQZP1zUCN 2PGVUsTxTuWnzMSHx76vMEcqj+4BGmidUVbjLEkR5dDqgy+STa7nsZDmGlO1TmyZYKTI 9SaO31pLomVIg0msC/0tcJQ4FNRehppl6BNP8ioaoAl2bZ7ivqi/CR14spoxzzOtcUhf gXYg== ARC-Authentication-Results: i=4; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b="AuW5kGo/"; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b="AuW5kGo/"; arc=pass (i=3); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id br9-20020a05620a460900b007759f9416easi7049457qkb.635.2023.10.26.07.08.43 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 07:08:43 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b="AuW5kGo/"; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b="AuW5kGo/"; arc=pass (i=3); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A161B385E02D for <ouuuleilei@gmail.com>; Thu, 26 Oct 2023 14:08:43 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2064.outbound.protection.outlook.com [40.107.22.64]) by sourceware.org (Postfix) with ESMTPS id 6C5DB3858C01 for <gcc-patches@gcc.gnu.org>; Thu, 26 Oct 2023 14:08:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6C5DB3858C01 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 6C5DB3858C01 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.22.64 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1698329299; cv=pass; b=oHM00BZorsCbocywNpnYLpTYofQBp0EmH7VpFcwdG0iIzkZJaKooXo2fB07iw1FjU0Yl76CffjJ16riUdK1JoFqyY/t6iM74NdI9lB2ZzMRsONCGQTD+HEUzXSz4bnqeOwuCCfNkkAjEgwckjn4mkTWHsI1kT1Dae7+bzsx/5n4= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1698329299; c=relaxed/simple; bh=AgA5GZTyt21jelX/FsLfnPIGtCZjvVO/OqvdsuaCQpc=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=HDJt6mEOXAnGkGDME30M5xRtO/W1k1H3DrjgwDdltHWIvESr+Dm+FIJHvyLRBRUVy58DvljRZaDibc+dsG2rz4wKYG+fWcNBULZcJah4PrZmA14ygug/YFuSMwCYFPuZAEiHq010oESJPsL8Aw3S309eoYq6lcZbN117G3DRGFI= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=RfRkCZrLxfDwNrYGBfQFkg3/a0tEFnCs9DdvHoa6+Nh7FxFHPJbJodB1OyJB0zneg2uJJUfbv4bnt7WuXA+VdOU5EWjFTqgDPdI6S+s/jMGCcGR++EIPUz1rZjjDDAXLuRtvas81DyOXstSty3Y+bJTVaDn+mll+41yRShKLZ7SRUvEPw5G/7irUx8vkYzYOgx/UDJIX44eBwPlKLC7uZAsfc8H8Nz6Ut31j6oPLd5tp/RYjdNU0gZUcM3r6uFEpdqViKqUgL7vD9K8RBmkBG09Q1krDTAXpSYUMQqrI4oVeH6m51DiJUSKuznOqk7gVVMBcG5mhuz/smJnjMsPPRg== 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=aLbgN22w26+utmJK7puFVTG8cWPOyirlDMbIjf5yx3g=; b=M8QpbcSuZ/8XJ3mmvIvK8cc9vY4HFQ/j5BZFk0brdPTSGt+YDfEBTBbRJrh4HvmNYho8oIYUuChaaHsccjRFId98bSF46Yrl16mZHIHQX5BBdeUkLDae4wfwDANLZ4UtFMwCE81Hs/I+emyBquuDZnMuHGR/yi/4Ul2mqBl44qDLHZiP671eYX9zlpHAT+Fky+PDQRV9d4lm1DLLRWBfVfYWKdyLILCiwQt9cFf4I//5kcOND3O5u+E2dbiECnatTASh9aCD8hoLkYwmzEwd/ayYoCo+G45ddzxdwCyoDZWLCSO/ajd48ngOZj2SMiQc/s2ARZuPzIh1NlJJJLNjJA== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=gcc.gnu.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] 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=aLbgN22w26+utmJK7puFVTG8cWPOyirlDMbIjf5yx3g=; b=AuW5kGo/24QVMc6fURAfq9e6jYePG/d38g2pUcsXxE4tWTnxhaQq8JbfoIbC7lLah1mJk+0zjbqMKDNLlRzB7FiwVm7Dd/CDV9q2Dh5lrL6Vgvdxk+xfjo3Uj1NBXp1vVlQRJ1MW0uiwF3fz1NsrVluvtTMRktufSvyiAbiVgD0= Received: from AS9PR06CA0560.eurprd06.prod.outlook.com (2603:10a6:20b:485::10) by DBAPR08MB5655.eurprd08.prod.outlook.com (2603:10a6:10:1ab::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.19; Thu, 26 Oct 2023 14:08:15 +0000 Received: from AM1PEPF000252E1.eurprd07.prod.outlook.com (2603:10a6:20b:485:cafe::fe) by AS9PR06CA0560.outlook.office365.com (2603:10a6:20b:485::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.19 via Frontend Transport; Thu, 26 Oct 2023 14:08:15 +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 AM1PEPF000252E1.mail.protection.outlook.com (10.167.16.59) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.15 via Frontend Transport; Thu, 26 Oct 2023 14:08:13 +0000 Received: ("Tessian outbound 7671e7ddc218:v228"); Thu, 26 Oct 2023 14:08:13 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: a8e58602fc76b465 X-CR-MTA-TID: 64aa7808 Received: from b4c06a781a37.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id F8A63354-D851-448C-BA3D-AEA0D1964B70.1; Thu, 26 Oct 2023 14:08:06 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b4c06a781a37.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 26 Oct 2023 14:08:06 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KqFRLMHk6btbxn81Ky9HRtwK078d+eyIJywrX17BXQDHUZEar7Yo0AInheBfh/oyLa9BWiq/Udu7aUO4I+zo7K0y5xnFvAytV58QI+sxFLNP37tDVfKgmDjhmX9OixAr5WkmzGqSTfStrY8yIS1ImJWpGDcg/DYnAjk48Y876DexIZ4f3Ygk0NqD5k5HN+fpPrWEDZLO6CfGKPl0hEmnDVLg9ZQQs/lMhmgtyC318WaJq+hCNESN3y/quC7VK1AxCXEk18rUZGzOVK/3/Z/7XV8F14Qot5WbLqvD6892LKqXzsSCJnKs4PKZgD4BMJXL+Q9Kl11LONq45tx94jd2GQ== 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=aLbgN22w26+utmJK7puFVTG8cWPOyirlDMbIjf5yx3g=; b=le8bBHROFtN/PT9KywhziffLqDaPEpDa609Wu0FPdaPvQEYIUpxYKngJcSf4EnGKu1msJXrqihYD3j+MoT75TuBNurAADsSBQ3dGWCkYcnOdJ71gyfSobI1iSkM2Y5ziuappjfKKZqukAmKgSnE/ei236KLadvYAjLFM+L7C2zWKgBabYXchZfJgsSFIvYHBRFTP4Jp3HR+hrnF4Xs1Q8I2pPMHCoEe73SdJgub0vn/L9CgLHF39aRe1EsbaNuiwmJqhb8qTUb5HGMDAuGVaP4g3rp4DtlTztvZ70Y7poxlRYPG+7h+1cH509bswxuLFJGm1JHvuhGzRdVKfMcVzaw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=gcc.gnu.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=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aLbgN22w26+utmJK7puFVTG8cWPOyirlDMbIjf5yx3g=; b=AuW5kGo/24QVMc6fURAfq9e6jYePG/d38g2pUcsXxE4tWTnxhaQq8JbfoIbC7lLah1mJk+0zjbqMKDNLlRzB7FiwVm7Dd/CDV9q2Dh5lrL6Vgvdxk+xfjo3Uj1NBXp1vVlQRJ1MW0uiwF3fz1NsrVluvtTMRktufSvyiAbiVgD0= Received: from AS8PR07CA0007.eurprd07.prod.outlook.com (2603:10a6:20b:451::6) by VE1PR08MB5727.eurprd08.prod.outlook.com (2603:10a6:800:1a5::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.33; Thu, 26 Oct 2023 14:08:01 +0000 Received: from AM4PEPF00027A5D.eurprd04.prod.outlook.com (2603:10a6:20b:451:cafe::73) by AS8PR07CA0007.outlook.office365.com (2603:10a6:20b:451::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.8 via Frontend Transport; Thu, 26 Oct 2023 14:08:01 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) 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 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by AM4PEPF00027A5D.mail.protection.outlook.com (10.167.16.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6933.15 via Frontend Transport; Thu, 26 Oct 2023 14:08:01 +0000 Received: from AZ-NEU-EX02.Emea.Arm.com (10.251.26.5) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Thu, 26 Oct 2023 14:08:00 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX02.Emea.Arm.com (10.251.26.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Thu, 26 Oct 2023 14:07:59 +0000 Received: from e125768.cambridge.arm.com (10.2.78.50) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2507.32 via Frontend Transport; Thu, 26 Oct 2023 14:07:59 +0000 From: Victor Do Nascimento <victor.donascimento@arm.com> To: <gcc-patches@gcc.gnu.org> CC: <kyrylo.tkachov@arm.com>, <richard.sandiford@arm.com>, <Richard.Earnshaw@arm.com>, Victor Do Nascimento <victor.donascimento@arm.com> Subject: [PATCH] aarch64: Add basic target_print_operand support for CONST_STRING Date: Thu, 26 Oct 2023 15:07:15 +0100 Message-ID: <20231026140740.3833021-1-victor.donascimento@arm.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AM4PEPF00027A5D:EE_|VE1PR08MB5727:EE_|AM1PEPF000252E1:EE_|DBAPR08MB5655:EE_ X-MS-Office365-Filtering-Correlation-Id: 6d41408a-8fe7-4541-4423-08dbd62cfe78 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: 69i2y+hiTru5lFcD+Y/7csrMeGHxfDZMOhFGAbh/joDXRc6CpuJmaZ2gWTIb5otrp2RPhTUysMe5xOu8V+0w7StiuizSwHJvb+Q2e/lcr8dJy/JUAmSWrSMfwmzY5aDGbRcQ9/5A1kWJ6YzpWfDyvSx1MUrxc2NIyjiAwLvsGxPqXxjtQmXnGvzKRg0KkO2+HfLiSCNxXKxdtXnVHA6Cr9xJI48CeSMwCJQly0Bizj/bQEoni6s/iu6mDof1nf26at2lzfmfItyonOiwo/IFfDiILHOskQxYMsirvfPXMqyxbM+bNse32qdyD6B2u/tt9nHgkME/UgU9MQBc4LG1b3N9blNUbg2ADb/Y3VwEj1smIbloXP8nqEs2x8OE6kGeX6b34IZTRJlSGlE0ed6XM1Gt3VOQXQcD5Q69Hi5k4db3/05PS7NhUsGctt530P832gOodjUzoBq5N0m/6dVKPu1CoeeKaUAKRxsOEq5CrjHIixNOiWA8ltw5jleZJomfHbxr69Ow8LOTVQxI0NiqFsRT8LOMT95ji/PmXvmQrgJ2IFJ1CQGZuWUQmln6ZszjtyxfYPOZ9rWFsJClBKx0lU0tY/zSHhyNrm7HqKOo3EGi+ojoQRt/h0K67O1yIpiblUKv0bnSJt68tvqIpqzmL2coclbrBdRWmq7JDprYe6r9pruw8VUVAI3tBdaYLaxgtjr142/73EEiZ5M3sByOhB82C10WqAUvXbPrctf5hvE= X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:nebula.arm.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230031)(4636009)(39860400002)(396003)(376002)(136003)(346002)(230922051799003)(64100799003)(186009)(1800799009)(82310400011)(451199024)(46966006)(36840700001)(81166007)(336012)(426003)(82740400003)(356005)(26005)(47076005)(36860700001)(40480700001)(5660300002)(4326008)(70206006)(8936002)(54906003)(2906002)(316002)(86362001)(6916009)(36756003)(70586007)(6666004)(7696005)(478600001)(41300700001)(8676002)(2616005)(1076003)(36900700001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5727 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM1PEPF000252E1.eurprd07.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: f8fe8199-b764-4dae-555b-08dbd62cf6dd X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2llExcDilEmaWiNc1Dw9rlqZmUlfpbQuiiC21lArNfWmVWpjjacDVBZlAEPU8s14ka1rb2+CS93JgKIpPY8xN9qODIputuotjzOGZR7WJ0IaW15exOxhPrDPBZkGwMF01KmbgQq5M5LVnKdFVE+/MdLTI13zwKEuszCvefRyVfHeY1wm4Ve2MAK4FK3gxhb9Geakm5WWy+ggVs+hJr5T+llcC58Q2nynxxpwjNuR5Br8LSqDlgkMDw0913qwZXmfve2l5/KZa6/mNQ+t5l2yqCLWpAsV3NzWLncAB6AQopZpn4H0N7ZMDbi38IL8pYRukEq6qtVpwGwRwHysQpmj10QJJ4Esh6jN4YScBVrirEw15dBM7opMBFeUBIMWERLw4XwplWNYfryQtUcZYUW4I96ODMF1kglLFNROgsyG28SjSvcrT4b3/O/CTAFpcc5SYMPrJ0cU5fK9t12uiV/ehGzrafUDmjSpXtcBhU4hQrPn87OyE4gTNMdGdSVKVGzrniy1qvBrU3wOx48UjiGrI0zuZktjwOnTB8QxJkb8RGyDhe+HY+zbczSzOpiK79RmUYJLzyWRK/ySeE8jMDcywiUzwm59esI/d1EhESaEO40dbqi+D896xGuZBIt6XG+nYqeulAtortK9lJqrfQYkWAsuRE5lkY7uNCyRWdEOZZiY/cFHaWlCYK56stMId8oc8xT4iM3Z5moNEJdhaytq2g== 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)(451199024)(82310400011)(1800799009)(186009)(64100799003)(36840700001)(46966006)(1076003)(26005)(2616005)(336012)(6666004)(47076005)(7696005)(478600001)(2906002)(41300700001)(70206006)(70586007)(5660300002)(4326008)(54906003)(8676002)(8936002)(316002)(426003)(36860700001)(6916009)(40480700001)(81166007)(82740400003)(86362001)(36756003); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Oct 2023 14:08:13.8788 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6d41408a-8fe7-4541-4423-08dbd62cfe78 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: AM1PEPF000252E1.eurprd07.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR08MB5655 X-Spam-Status: No, score=-12.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, FORGED_SPF_HELO, GIT_PATCH_0, KAM_DMARC_NONE, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780827368771696601 X-GMAIL-MSGID: 1780827368771696601 |
Series |
aarch64: Add basic target_print_operand support for CONST_STRING
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Victor Do Nascimento
Oct. 26, 2023, 2:07 p.m. UTC
Motivated by the need to print system register names in output assembly, this patch adds the required logic to `aarch64_print_operand' to accept rtxs of type CONST_STRING and process these accordingly. Consequently, an rtx such as: (set (reg/i:DI 0 x0) (unspec:DI [(const_string ("s3_3_c13_c2_2"))]) can now be output correctly using the following output pattern when composing `define_insn's: "mrs\t%x0, %1" Testing: - Bootstrap/regtest on aarch64-linux-gnu done. gcc/ChangeLog * config/aarch64/aarch64.cc (aarch64_print_operand): Add support for CONST_STRING. --- gcc/config/aarch64/aarch64.cc | 5 +++++ 1 file changed, 5 insertions(+)
Comments
Victor Do Nascimento <victor.donascimento@arm.com> writes: > Motivated by the need to print system register names in output > assembly, this patch adds the required logic to > `aarch64_print_operand' to accept rtxs of type CONST_STRING and > process these accordingly. > > Consequently, an rtx such as: > > (set (reg/i:DI 0 x0) > (unspec:DI [(const_string ("s3_3_c13_c2_2"))]) > > can now be output correctly using the following output pattern when > composing `define_insn's: > > "mrs\t%x0, %1" > > Testing: > - Bootstrap/regtest on aarch64-linux-gnu done. > > gcc/ChangeLog > > * config/aarch64/aarch64.cc (aarch64_print_operand): Add > support for CONST_STRING. OK, thanks. Richard > --- > gcc/config/aarch64/aarch64.cc | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc > index 62b1ae0652f..c715f6369bc 100644 > --- a/gcc/config/aarch64/aarch64.cc > +++ b/gcc/config/aarch64/aarch64.cc > @@ -12346,6 +12346,11 @@ aarch64_print_operand (FILE *f, rtx x, int code) > > switch (GET_CODE (x)) > { > + case CONST_STRING: > + { > + asm_fprintf (f, "%s", XSTR (x, 0)); > + break; > + } > case REG: > if (aarch64_sve_data_mode_p (GET_MODE (x))) > {
diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc index 62b1ae0652f..c715f6369bc 100644 --- a/gcc/config/aarch64/aarch64.cc +++ b/gcc/config/aarch64/aarch64.cc @@ -12346,6 +12346,11 @@ aarch64_print_operand (FILE *f, rtx x, int code) switch (GET_CODE (x)) { + case CONST_STRING: + { + asm_fprintf (f, "%s", XSTR (x, 0)); + break; + } case REG: if (aarch64_sve_data_mode_p (GET_MODE (x))) {