From patchwork Mon Nov 13 09:54:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: YunQiang Su X-Patchwork-Id: 164392 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp1098309vqg; Mon, 13 Nov 2023 01:55:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IHlvUIw1QWigQqMp0rqwGAJqwXHXrnuwdzsaIvYf15nwhWMvQwRWvinLgFmSS4Rpo+lFZiK X-Received: by 2002:a05:6214:5191:b0:66d:1d3f:17cd with SMTP id kl17-20020a056214519100b0066d1d3f17cdmr9337915qvb.28.1699869346811; Mon, 13 Nov 2023 01:55:46 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1699869346; cv=pass; d=google.com; s=arc-20160816; b=nrAj40L+rCFsraBUR7k475VNvrwOq6dP6EI20eTT8Bg85T6CuDfqDnEVpdUiGgE+6Q z1ZWkOy1NxkCSQfs9YPGt5MaMb0kwnd91+phHdYExmMpg9xwxSdrEHXc12V3hs75uLMa YR6/7kEWwFjo96z/iRnYlEsIQX0+oLsoKWKmt+BtVcycG3mmsqHNRMP5I1geI4IO+3g7 3CW3U+mbdtP37JU4cfCp1j155ndLAsiXIoUetpMkPbo0AWtWB8ifeCvF0vBtgPGVVWRZ CGgTLzMedurWsI5Wuej0dtp0IsNOM4XypdDsrJqSzlEEQ/m7UsMYwCUH/AGAgjUajAlW shFg== 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=t+0gh1L5zMf4YbjOGIFanWG927Eg8NtRZpTdRLBveg8=; fh=zgn+771X4ysB7j9hSn7g/xv3tY8yVpzPfpfJXx/EswI=; b=hB7FgwrBGdni+Orkg7Z32BavYyJnqu1rmpte1bZLqxkNmT9l/aUcDkIJ641dJ5O92z t8ztze3UP82PufBnJICoMa5V0Bl/Bqobar/lNYA0Ch8qjdNzFYFcU5Vjdki7vuCZYIHW c0Sju70pZEwKjZgdgPEGnVsWSTIge8IXTLI/oxka6j66TL3HoLwkJ9Tx+pooCEGM1c3Z 8OeBkuuAIT6Gf//QreIhFlmRDfm4L09p5xT3euMiBtYAE+XYqdAenMPa8r1+sGVbLG1q GCOdtbsjjGe61qP3E4swIXx7KFiId5nentWisT9EdWzyw0CiIDWwzMqaL46R58aJpj/D Mzfg== ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b=rAcmucGl; 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 dv6-20020a05620a1b8600b007788cced177si4318507qkb.524.2023.11.13.01.55.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 01:55:46 -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=rAcmucGl; 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 17F42385B528 for ; Mon, 13 Nov 2023 09:55:43 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2135.outbound.protection.outlook.com [40.107.117.135]) by sourceware.org (Postfix) with ESMTPS id 04256386193D for ; Mon, 13 Nov 2023 09:55:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 04256386193D 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 04256386193D Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.117.135 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1699869333; cv=pass; b=rwjtxzkUMsR222WtDSt/cHLXVxdlMTEtWmGWnrGkWlwMj2S82WbEbY8N+X2N8+uEXF3IXUjW5B9xW3m4n1c8mYXCa/6QMapoBNfXzZfSueLPgqdwP93PLT7V0e70IL39cIGiaQdNf56Z40YWGXw9+FgLuVo2VEv0Eq+5m2SzMQ4= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1699869333; c=relaxed/simple; bh=k8ixjbMFga/3D1KPF6zHq2DaPl1R6GZc6L+A5mjFOsA=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=HLBLX+ztM8f6lODQTOsVwanwXoAFLLW1Rh4JtEmG3Z/7Y2+JCWEGnN6o/Tih4Hp5zN3bUmRw9t60+bshrpRAYYYpx+HXV16p5ry6lwLksLBJk2nBdpqAKucZ+rAmFke61aRurDAkdLThith8JfTLmIwYtkYqNogU9wamcF4wu8c= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QaHojz2B+BMXOz08g4QofiKc9LXltzmDw1NxFil6xXpt/u+HckNyBZu2Z+uMRmNxgvqBD0dDlEj3dGjOhap1f3ZTVNDvtrImyg3VoFQc99PtgpaHhv3sxT8n8n/uLE1+qfL7QUQeUNg95u4jL/By7EhYGJSjigqu6z44MajmjGPM56xrkjQIAB67jn6WSYVDxSt1zIFpbuyrl5w/gvnvKhMrNrcx3biNh1k4JoBIw1z6h26dQdjHPeaSm5fIk14Br9f03P2WglJIS85z9gudUgVuv2XK/RbtSLQMCjJPp7kCCrUJi2kDgJZA4IHzlvtTySADWa2RGjehthox13yuSQ== 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=t+0gh1L5zMf4YbjOGIFanWG927Eg8NtRZpTdRLBveg8=; b=Ca3j0LAAl8tbVDIqpqPVjT6N47qVSm1aF4SwPtMRaoMovWu65hbCiNnOsNW4ry3qUYnvAOENXmVYB2kxVjD6NhbwQIqSUUqdZ1Tf3UvCgKWuuIDFC8TYLyQ6PIpCcIuAvK66XAbaHjdQZhNeQTs2pLR/Dr4Us9cJQK9DdCPqO6RKVQ3iSi/297stHK6PGlGVpRnqeWl6IkUIYobu/gTvv1Iul611F5dl4tFQJdtgh2bvAo2m3U/vYpl61yC9qHViKVsgKEbJWVSjQu8j6lb5dVQGPGiTT07BhsUeXZqrrRP6FyhwYRXU4twDTmGLtEvFoTKdJbYhR03gCgRv8oiNeg== 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=t+0gh1L5zMf4YbjOGIFanWG927Eg8NtRZpTdRLBveg8=; b=rAcmucGl9aYwCz2JrGywJ/mOFNQpJu0ps4FxXgkEpIiUc7/48FcUk9Xz0gYHfcd+px/bthMVG6n31yn53Hwjbk9vEek19Jca77swdpjRbmFLSMdJlisVB0qQPtxMIPIk/WO01KnKUKI++kObtteF6Aa4AJnfp3EcLuKHLqOBTF0= 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 JH0PR04MB7587.apcprd04.prod.outlook.com (2603:1096:990:66::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6977.29; Mon, 13 Nov 2023 09:55:22 +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.6977.029; Mon, 13 Nov 2023 09:55:22 +0000 From: YunQiang Su To: nickc@redhat.com Cc: binutils@sourceware.org, YunQiang Su Subject: [PATCH] MIPS: Fix binutils-all tests for r6 triples Date: Mon, 13 Nov 2023 17:54:58 +0800 Message-Id: <20231113095458.1066529-1-yunqiang.su@cipunited.com> X-Mailer: git-send-email 2.39.2 X-ClientProxiedBy: PH8PR20CA0003.namprd20.prod.outlook.com (2603:10b6:510:23c::16) To TYZPR04MB6117.apcprd04.prod.outlook.com (2603:1096:400:25a::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR04MB6117:EE_|JH0PR04MB7587:EE_ X-MS-Office365-Filtering-Correlation-Id: 99ce4dde-09fb-4bf4-7c27-08dbe42ea687 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xOvmlgIa0e+bxXbMaVEoMXGr50P0CUzUwV/URIy8Rt7xbGCB5pyh6fWAIgKRqRH+SQUxBhwwBUWiMwvU/j9ZQgYjrC5EKdV57HICJX1RUUiTgNFhCM9Z6fhQKOcY5Vvl64/te/Q+cgFX1VqfnSzqFgHCn+31Z7hyEG+K4wdU7ZIMUPqxaksoN4268JG0KZIBS+TrxtMkC7RkQ9cjLF1V76HckJE5lWpcYx/4Li7cK+WwTikgmuZGh5bBMcQtbyBgWgTD5us4+u+hZN1NZ7HuaZIpwha8NL6f17AP4I/vycJStvi0ErbXuNfn2moE+z9PYu1eYPlsZwpBXwTEqy8Zkou2h6zxIobVmP9CCg72/5Pg1kLUARu12ntsOucyNQ+/zwzFF+K8dvs9F0QVO9JOv3RlLLfdWe2uo0i4dUG4RpI5EnsLtCTRAQVJ5n8FBkGXhX0DqeYp98lE7cwoVCzAK3Y0zPGZ6TFXKai49GOB4C1qIE0/JB8wIQpf/b2/WrQMxDBMpqNYgbkx9vVsoAuYTnv1S5ViUJzEM/e15eHxrzqmJei3qzc/RglE0pB7Q9klaDYPtpqae/b5+xPzmaGMhM4X0ApvicLqWJTkVgbrIuI8+fgO00+o4RDs8siXxKla 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)(366004)(136003)(396003)(346002)(39830400003)(376002)(230922051799003)(64100799003)(451199024)(186009)(1800799009)(38350700005)(66946007)(66476007)(66556008)(6916009)(316002)(38100700002)(36756003)(86362001)(6512007)(107886003)(26005)(1076003)(6666004)(2616005)(6506007)(52116002)(2906002)(478600001)(6486002)(5660300002)(41300700001)(8676002)(4326008)(8936002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: IKWFDFfRE28xXvWcPv4ktPcJ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+NI2tGuB9oYsvNH0fxc8Su+G9gTpLZl/WdvbMAb2M+IvzTANFdcOOpsJxnprrrovDYiWHulOvrpFQ5yllK3KDfqbkDWGEAnVvgRqV7EJgF99zLZKoJE3woXCeiQsykUEN/5SfcpzzUT2FahL9gDqGcuvM3UalP3kB9950sel0ADFjEAAwpFrF/lroO73TctRb2yIIGm4GHfbrVVyZkvsY2tW5T8d0gibAPJzuC3tgxDZVWkRncGe4y5AGjKQL7zSfgmzdzrFSC7i0Ei2ieEbu2i5cUx8vzQQkKnom/WlMOiauNZEWA8Juhcw6VLzhT4nhmMh2kaWfFkmMestusQzQfR20O1pEaxMJpfl1HuPPXCFJtF8x5u/rktABgc7N2pVUG4eJsS3U1kClTxIR9PJMoSXWpnxcBYqvcAwm2u4aH/hV81tBrwqK0it7sw9hfuFulrOoTggHHPNX2R1EIZKf2cdVZaIKWQ897jyCSiggxB3RRNZrhwJ5nWBfVpDlQ== X-OriginatorOrg: cipunited.com X-MS-Exchange-CrossTenant-Network-Message-Id: 99ce4dde-09fb-4bf4-7c27-08dbe42ea687 X-MS-Exchange-CrossTenant-AuthSource: TYZPR04MB6117.apcprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Nov 2023 09:55:21.9380 (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: uAMLpthGojp95wHOMXXLZF49kFQstKuMkzpLxeUKLNCiZtboenkDC+dlKbD7PKpKb2ImLdN1OTn9FEu6EGj+5nBjXJ0pcc2FN0N6Cznwr4U= X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR04MB7587 X-Spam-Status: No, score=-13.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, 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: 1782442199713016975 X-GMAIL-MSGID: 1782442199713016975 For MIPSr6, MIPS16e is not supported by ISA, and microMIPS is not support by binutils, and we have no plan to support it. Let's add `-march=from-abi` option to mips16-extend-noinsn.d and mixed-mips16-micromips.d. --- binutils/testsuite/binutils-all/mips/mips16-extend-noinsn.d | 1 + binutils/testsuite/binutils-all/mips/mixed-mips16-micromips.d | 1 + 2 files changed, 2 insertions(+) diff --git a/binutils/testsuite/binutils-all/mips/mips16-extend-noinsn.d b/binutils/testsuite/binutils-all/mips/mips16-extend-noinsn.d index 41bb49e6ac7..e6ceca8f35e 100644 --- a/binutils/testsuite/binutils-all/mips/mips16-extend-noinsn.d +++ b/binutils/testsuite/binutils-all/mips/mips16-extend-noinsn.d @@ -1,4 +1,5 @@ #PROG: objcopy +#as: -march=from-abi #objdump: -d --prefix-addresses --show-raw-insn #name: MIPS16 unsupported EXTEND and undefined opcode disassembly diff --git a/binutils/testsuite/binutils-all/mips/mixed-mips16-micromips.d b/binutils/testsuite/binutils-all/mips/mixed-mips16-micromips.d index 4a53dfb8578..65459d510d3 100644 --- a/binutils/testsuite/binutils-all/mips/mixed-mips16-micromips.d +++ b/binutils/testsuite/binutils-all/mips/mixed-mips16-micromips.d @@ -1,4 +1,5 @@ #PROG: objcopy +#as: -march=from-abi #objdump: -drt #name: Mixed MIPS16 and microMIPS disassembly