From patchwork Fri Nov 24 06:35:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: YunQiang Su X-Patchwork-Id: 169218 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp944924vqx; Thu, 23 Nov 2023 22:35:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IF1HuK4DHaW/rja1iPV3w14MxB04cr4azzxtEkBRJ+Psod7Xxq898+vXpFe9wHy6F/ISVai X-Received: by 2002:a05:620a:2987:b0:77d:69de:88a2 with SMTP id r7-20020a05620a298700b0077d69de88a2mr7740787qkp.24.1700807755066; Thu, 23 Nov 2023 22:35:55 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1700807755; cv=pass; d=google.com; s=arc-20160816; b=WDlXA4ZDNj6FA+eGahlfiDcyDcioPmhGSyrpnSemGtilqxqvccwl2E4PzfWqVJWQm9 NrDt2KFmLG75tzCpa/TZPLJhSsNRUbrcHONoiVHxEz9BBJy5tsM8OlWxNgte4BgAioGG BzXnwTpKZEVpoW0rVK3qv7sjqYOPZ4uk6uJoNmj6ccR9lo719LqpxcyYObU9vL+X/CRq i7L93TIFwiV5a/r4N/kk/dPBLoHvuujlAAC2MZdq1jCB0XMtXKrqxplJmeTy1iWHATGp cOh7mUOA+VOrV6M2JBlhsNoJ08gheljgjpzI/SkKGKr0rmCHU1WGxCy+C4tVyhkKOb// xRFg== ARC-Message-Signature: i=3; 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:mime-version :content-transfer-encoding:message-id:date:subject:cc:to:from :dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=o/IvOtSoCjx8YuxcqyZZj4SKkYFC7vFe22cOYK6RgEU=; fh=zgn+771X4ysB7j9hSn7g/xv3tY8yVpzPfpfJXx/EswI=; b=Gw1vacNt7W6mpOX0EJskH0O8qZz7cysQ3wskuRTWJj69mpB7BSL8Nbvx9jil3pZtNc JBEqLAs+axzSmZhTRhdnGKunNf+TptWgPmXcP0QyX83i+gBXfmbu0YJ5fAhaTGag5Jju 2TmRAfjPQjWQmB+Un2N69huUYcw+9hWXRURrsjnmWgjPZGkUfxl2ipyIJKxD+w3iqnVr 9/t82QTPy71UTCkmJ1aEJqQDbToDUcyDu0HudK2JTprevwoP7sT2108+EULHxZ0uZqXV JKj8Eq/qD1bbtcTiJeEaJORq0xYCADpm6cA+nELaw4TnI1/zifHsAP+noK482bhCPePK Zosg== ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b=JDMn7VJa; arc=pass (i=2); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id u26-20020a05620a121a00b0077d67849370si2481405qkj.474.2023.11.23.22.35.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 22:35:55 -0800 (PST) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b=JDMn7VJa; arc=pass (i=2); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D14C0385828E for ; Fri, 24 Nov 2023 06:35:54 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2103.outbound.protection.outlook.com [40.107.255.103]) by sourceware.org (Postfix) with ESMTPS id 403113858D20 for ; Fri, 24 Nov 2023 06:35:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 403113858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cipunited.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cipunited.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 403113858D20 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.255.103 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1700807750; cv=pass; b=llvMKVf7oHsC7pTQeICb/XJmMoKQbOFV8YIc2iONzWGQufYtBeinvYfWoz1qtnWllwVqz4jwDHK/dDqvYKxTTNgpRmL6fe7BqAINmiTmu5VQW/33vxGfd1BiaHp2bXUrM98zx8S3u3wjzAvD7xDDwPpKIBR+JU1XuCLT0wzGZ3g= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1700807750; c=relaxed/simple; bh=Dv2e+mV/D1afF6k0KXQrYcRcSXQEPj3zDaMESMtWyD0=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=FfdGjAenlDWjnRyR4bEa9p0rclBcO4ofon51qTQA7x3oHdWGfV6efB+M3czbaOCIf36tjSqAEthCo+ImomeXmpjfHsSbH/E8+CBqSdLINov3p2kNpjaZqQc40yH0hopOwWyDimvvM6GKlkeERKyzHh0B9hk3MtdqbQD4rRak7hg= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZXjWdOiW5FqSboZ724XFbq68aZl9JUmeazpRU6WkxoY+t5o1TurzJPxxTB+sHXP5PRDNaOPRtRomgn/JYPB5CXuxOCN/9PYqzxMmV8jVX9dvTPSc45HvSngxPKyZk5jkk+lC6btquZb5FLYUc97h2rh9d1fHY2X6xdweBNqdBuD88YDreO9LorgfMKVNlNz3pb7ut0Ozg9hpmW5H9KJNuu8yUL3JIUHEfsbkiKDqrHXkgH0bIP7rIcqM+AJ5nI0m0jzO3s/s/lvTxNCiVKY3sGIhK4wnyIMoopdywGsB1opLj0RsFHsRQHh5TafMAn1Q7x6H5EPn5C7LRC9rbNwZ7g== 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=o/IvOtSoCjx8YuxcqyZZj4SKkYFC7vFe22cOYK6RgEU=; b=L2+6Olj0aMVZb2EIIsh8Za+o69mENHJIYBhMMxwEi56AnG30H0ZJzk4bg3w6/QszDTNHeEn4ETr0oxCLf5DvddLS5k6EzvRrnVIr+qhknIQCEjh6XVGANL1ktfCkB3zJH0oxuTyWxLhvap2iVUD26VXH9M/RIAtzDyGBl1lJYKEhmqYluUdxEQIaW2NgT++nPaldJY8OtAmM1obF5IuoOlWncvptVlqsbWoWFl9Betj9PdRXkRJ0N5xUTyygJOnVChLePZdqYDG7+buI1X9d95RYI+pBBq9XNSNZ08uwDct6xWU9deIuijRE9aCcmLp1pku/cynIlec5Bgj0jAAjaQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cipunited.com; dmarc=pass action=none header.from=cipunited.com; dkim=pass header.d=cipunited.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cipunited.onmicrosoft.com; s=selector1-cipunited-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=o/IvOtSoCjx8YuxcqyZZj4SKkYFC7vFe22cOYK6RgEU=; b=JDMn7VJaZ5hwtwrV39/5hXP7xoq2F+RtB90azntTFpFvHbSoC2Cuzxi8V1mmqGAW4kaetmBiDE7wiJkpTqn4/NN79/B5VkBezct+CppVxFJKPFSdZUo/E/vfwuLiw2TpPYWaPHFWSHgA3mJnB1Gn07yLVVTlm8B9cJSxTLlgl0A= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cipunited.com; Received: from TYZPR04MB6117.apcprd04.prod.outlook.com (2603:1096:400:25a::9) by PSAPR04MB4166.apcprd04.prod.outlook.com (2603:1096:301:3d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.21; Fri, 24 Nov 2023 06:35:42 +0000 Received: from TYZPR04MB6117.apcprd04.prod.outlook.com ([fe80::41df:8aa2:5d9c:5f88]) by TYZPR04MB6117.apcprd04.prod.outlook.com ([fe80::41df:8aa2:5d9c:5f88%5]) with mapi id 15.20.7025.021; Fri, 24 Nov 2023 06:35:42 +0000 From: YunQiang Su To: nickc@redhat.com Cc: binutils@sourceware.org, YunQiang Su Subject: [PATCH] MIPS/GAS: Add -march=loongson2f to loongson-2f-3 test Date: Fri, 24 Nov 2023 14:35:12 +0800 Message-Id: <20231124063512.2055623-1-yunqiang.su@cipunited.com> X-Mailer: git-send-email 2.39.2 X-ClientProxiedBy: SI1PR02CA0005.apcprd02.prod.outlook.com (2603:1096:4:1f7::13) To TYZPR04MB6117.apcprd04.prod.outlook.com (2603:1096:400:25a::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR04MB6117:EE_|PSAPR04MB4166:EE_ X-MS-Office365-Filtering-Correlation-Id: 78d12552-9823-44b7-57fb-08dbecb7948a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ph2GAar7kcs+j/1h02l1vq+pxCuKcq/hXGSXHEyHjrwA8vGLaF4OLGbmwkGrsQVILVEFJ6QXbNjWCAkfudCPrVQmuMCK+sZzACc7UT5W8WrTx0RQJ4WXAczEIaRMA+ahdBtjyjKQ0sMfM/Jx0qU3EpOw00I5dexq/51xHP5Tu71dbYyuH4CU5zDOdTexOBPAzF5rAFdghPgfSBibAb7g2Tao3oaFtLxnAleBIUjQV/RfQZh0oQiRWTYXBppcXhALwEzbYrZkqFm5j7VKp4KOQ6XPABd04lOOGjeXQWJ0/jxlIVqA00Ha869UjAUx8NiamFf/0v+k/qzjyZjc/HoR3VAp+SAPdhQZcS4q+zhidrXy2LjzpVMkhggu8eIutZyHqREVMd790KA28RIcJPBGK1BBGOgVYWByaUDdOXfElOh+aGt1ucmEvIhidxf1Lpa56Jg316kWrRUU3rQesf7Q8yt17bn4fA0gPjDBDZYKPgYRX0I4DKD+d+6eogKPGYoMID82kxEZpvGoq7y/dgpGBI6WyjecC5tkpyMEyto9dobeBL//51CELWWKLwIvUSJtkcfUqm5VhQTyga/U7tRzs/jEiatXlqHbkEIVGhw2hweDE0CUJxxMUp9E/4xC+MCR X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:TYZPR04MB6117.apcprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(39830400003)(376002)(136003)(346002)(366004)(396003)(230922051799003)(1800799012)(186009)(64100799003)(451199024)(41300700001)(86362001)(38100700002)(6486002)(478600001)(6666004)(66556008)(66946007)(66476007)(36756003)(6916009)(6506007)(52116002)(316002)(4326008)(8676002)(8936002)(6512007)(38350700005)(83380400001)(2616005)(2906002)(5660300002)(26005)(1076003)(107886003)(4744005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: vqC58qT09+ZwiDFH0zMEjnwdzWAE/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X3ZOj4mcKJl+Mpi9zgEN99sYcY/9SUm57lWhDockMkPEpli/fHXGd6+TuJm4fEkfb4KCuZ3ChKoFbG32JtUbuIchc6BeBvm3WhiIuVt/5i3lTX6tBz/FjUKdzUFQBA5E0myuAsxZx9etXadklhtSNWepqQxwAG7Th8r6ARrWInMNWJt/8jUND3v3wf+4kyDUfq4emGjkM/meuwQzPPrqARw/CH1IVhTNIOCBra2kytPjhdnKDz9FDKVF/gKLsfdCz0vwDqJu1iIUjqKss24BlEswfbZKI+PNqHMUTyycJRnTWyk/Ykm3sdasXuTWj2RJoNPRR4FODxoBwgVJR6DWvD59tioOOCgWi5h9QxuElL6ytdMyFluKlvKPn55ce9M7MXsCW6s+5iDLRgG0e/lnV4VeLnqEMkIBu3l6dZH5eZYe+JGIXAfhuI1ZXXL9mrFf5nAAkcfArXR7ZNgF3W2uhNNA/PapFeC5Nl+5kCkox0axDghPMeY1Uw== X-OriginatorOrg: cipunited.com X-MS-Exchange-CrossTenant-Network-Message-Id: 78d12552-9823-44b7-57fb-08dbecb7948a X-MS-Exchange-CrossTenant-AuthSource: TYZPR04MB6117.apcprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Nov 2023 06:35:42.2165 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e31cf5b5-ee69-4d5f-9c69-edeeda2458c0 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: c1fT+82jC9LCAdQtS2bZsm567lI/FP2da9p9yocNA5TDhPD5KnBrUaQq5t6onYm2G5Jnf90dsiTA/dOudmWjamrwjZdcuT/GiC4wTHVj4mU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PSAPR04MB4166 X-Spam-Status: No, score=-12.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_RPBL, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783426192359658233 X-GMAIL-MSGID: 1783426192359658233 On MIPSr6, the encoding of JR instruction has been chaned. This patch can fix these failures for r6 default triples: ST Microelectronics Loongson-2F workarounds of Jump Instruction issue --- gas/testsuite/gas/mips/loongson-2f-3.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gas/testsuite/gas/mips/loongson-2f-3.d b/gas/testsuite/gas/mips/loongson-2f-3.d index f3ac2c97742..c31d3abf53a 100644 --- a/gas/testsuite/gas/mips/loongson-2f-3.d +++ b/gas/testsuite/gas/mips/loongson-2f-3.d @@ -1,4 +1,4 @@ -#as: -mfix-loongson2f-jump +#as: -march=loongson2f -mfix-loongson2f-jump #objdump: -M reg-names=numeric -dr #name: ST Microelectronics Loongson-2F workarounds of Jump Instruction issue