Message ID | cover.1683273171.git.jie.mei@oss.cipunited.com |
---|---|
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp271212vqo; Fri, 5 May 2023 02:45:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5S4p2Gfgmv7d9q2kwOJ4saucHbSHC2VzrCQnTu+89eV5BDsRffJvKinBrl8Uj8ghzpD4+N X-Received: by 2002:a17:907:728f:b0:953:4bec:f350 with SMTP id dt15-20020a170907728f00b009534becf350mr1648127ejc.23.1683279937178; Fri, 05 May 2023 02:45:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683279937; cv=none; d=google.com; s=arc-20160816; b=fr5i+TSgfByAbQ3SKhnh93/vrgRT01GzmngTOHO7HzstW4tGNfVv4n3kjUAgM5/1kX XSkZ0SpgHpSLLIWNWCUboFV/qgRp48M786qjqUcgqbF9xhsH6o0wXwYazfltEa+ErdC7 7RstP7wSGz1PLKteRQcl+SzoQR+1GEdXH8tBBoLeHu0rOFEfX1ky7XP+rnBhMzLif5j9 C6yZFo4eA+WTP/KxrbKLqLJHVIHaqYLqE0bqPWdzP5LWmzHBZ+Q4WuDEus6+jrdKxr/w je1lLMm/i/2i/YeC1JuMCMBLHEPhHtwyEpfFsnnZmWMf6nRdK2BoLxrP64KM9YL+mbmr HSKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :subject:from:to:mime-version:message-id:date:dkim-signature :dmarc-filter:delivered-to; bh=3uej4Lg2k+oSNmihOKFZAMZxatK5qxUZYFj5EmaxfFE=; b=aLhq51+eiWhaEveKgkk4wO2yIH+8CCaj98rWbuwKGpsNh4p4Ifsx805x1evvt5/rR0 /KknRCokW9INzWPqo8BseqiyPHkqIQxsvkYkhxVleBgaCUBHQT1qyjUdCYbEBz52GIH/ vVppGAxgRfZBmuCbl3CZ+D90PikDEATbqWFZmLAnPRAmxjQlmem0AMcDp/fD3ptBwiXp MS/jYLdblmXzpi6rniwkpTOiU1LMS8tZ97Jkfwok9YBzh2LF+uESMGfmkzxQL965K8fn bjk8dcDQPgJeKEmMt0DzLh+N39iHYTGekdqfmkQ7DjRs3reIXydh61rg8nzwNhoXdY9y Cx9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@oss-cipunited-com.20200927.dkim.feishu.cn header.s=s1 header.b="XNfC/SAZ"; 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" Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id dc12-20020a170906c7cc00b0094f4c62e2aesi1052141ejb.278.2023.05.05.02.45.36 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 May 2023 02:45:37 -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=neutral (body hash did not verify) header.i=@oss-cipunited-com.20200927.dkim.feishu.cn header.s=s1 header.b="XNfC/SAZ"; 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" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 420E43895FD7 for <ouuuleilei@gmail.com>; Fri, 5 May 2023 09:42:47 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from t03.bc.larksuite.com (t03.bc.larksuite.com [209.127.231.36]) by sourceware.org (Postfix) with UTF8SMTPS id D93A33856958 for <gcc-patches@gcc.gnu.org>; Fri, 5 May 2023 09:41:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D93A33856958 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=oss.cipunited.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=oss.cipunited.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=s1; d=oss-cipunited-com.20200927.dkim.feishu.cn; t=1683279702; h=from:subject:mime-version:from:date:message-id:subject:to:cc: reply-to:content-type:mime-version:in-reply-to:message-id; bh=p2xDm8EyewIWJfWez+riz+BGtjpGwjT4QTYlAAo6yec=; b=XNfC/SAZhS5srK1sju3Cn84y4DzMIifBDxtMKylnBeaOzXbVdoPzerL3FUnQAixPRtbXfF 9pXidyoDptMLRWEO2gbX8QFiSR6ieT0GUnPLoj11fEmHmPO+u9sfx3L5uehfkgGxDojEyL LE2TsSvzZqn7DhMBHc7fehxuszN5x5TMziyv1z1T384mIg3EwMhjwGvitKl55Z+VtPkSOy IQoNSno5RauVvT3GFp+Bbfk26M4HpKCj2ZK+JoJ4xYatRQPwY5Jb5+NW3tdfc2ydzMt2Nl QqtD4OpVRVnbm5fUqtM6EQGrjM6aHKMymCINMcf5vW4ySJSFmenRwkZiN5Wo3g== X-Lms-Return-Path: <lba+26454cf4a+1cac68+gcc.gnu.org+jie.mei@oss.cipunited.com> X-Mailer: git-send-email 2.40.1 Date: Fri, 05 May 2023 17:41:31 +0800 Message-Id: <cover.1683273171.git.jie.mei@oss.cipunited.com> Mime-Version: 1.0 To: <gcc-patches@gcc.gnu.org> From: "Jie Mei" <jie.mei@oss.cipunited.com> Subject: [PATCH 0/8] MIPS: Add MIPS16e2 ASE instrucions. X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, HTML_MESSAGE, KAM_SHORT, SPF_HELO_NONE, 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 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 Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765046943304357543?= X-GMAIL-MSGID: =?utf-8?q?1765046943304357543?= |
Series |
MIPS: Add MIPS16e2 ASE instrucions.
|
|
Message
梅杰
May 5, 2023, 9:41 a.m. UTC
The MIPS16e2 ASE is an enhancement to the MIPS16e ASE, which includes all MIPS16e instructions, with some addition. This series of patches adds all instructions of MIPS16E2 ASE. Jie Mei (8): MIPS: Add basic support for mips16e2 MIPS: Add MOVx instructions support for mips16e2 MIPS: Add instruction about global pointer register for mips16e2 MIPS: Add bitwise instructions for mips16e2 MIPS: Add LUI instruction for mips16e2 MIPS: Add load/store word left/right instructions for mips16e2 MIPS: Use ISA_HAS_9BIT_DISPLACEMENT for mips16e2 MIPS: Add CACHE instruction for mips16e2 gcc/config/mips/constraints.md | 4 + gcc/config/mips/mips-protos.h | 4 + gcc/config/mips/mips.cc | 164 ++++++++++-- gcc/config/mips/mips.h | 32 ++- gcc/config/mips/mips.md | 188 ++++++++++++-- gcc/config/mips/mips.opt | 4 + gcc/config/mips/predicates.md | 19 +- gcc/doc/invoke.texi | 7 + gcc/testsuite/gcc.target/mips/mips.exp | 10 + .../gcc.target/mips/mips16e2-cache.c | 34 +++ gcc/testsuite/gcc.target/mips/mips16e2-cmov.c | 68 +++++ gcc/testsuite/gcc.target/mips/mips16e2-gp.c | 101 ++++++++ gcc/testsuite/gcc.target/mips/mips16e2.c | 240 ++++++++++++++++++ 13 files changed, 816 insertions(+), 59 deletions(-) create mode 100644 gcc/testsuite/gcc.target/mips/mips16e2-cache.c create mode 100644 gcc/testsuite/gcc.target/mips/mips16e2-cmov.c create mode 100644 gcc/testsuite/gcc.target/mips/mips16e2-gp.c create mode 100644 gcc/testsuite/gcc.target/mips/mips16e2.c