Message ID | cover.1693436086.git.research_trasio@irq.a4lg.com |
---|---|
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a7d1:0:b0:3f2:4152:657d with SMTP id p17csp4821077vqm; Wed, 30 Aug 2023 15:56:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEOWdw4Ga8TuEt/MQLzS93rL9dSLOkyLBWPRc3PGIRa0ADXhCCNq96VxwlW3lwLQjYPniSK X-Received: by 2002:a17:907:c0d:b0:9a5:8c35:d026 with SMTP id ga13-20020a1709070c0d00b009a58c35d026mr1248758ejc.38.1693436171468; Wed, 30 Aug 2023 15:56:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693436171; cv=none; d=google.com; s=arc-20160816; b=f9lqdIxTKY6rnTGVZ7ItEa4KNzDDJQ6+I9FLEgdBTdMaedCgQdkP9V2oewZ4SPG6+f GrYH63wlaFQMoJbUUngK75Fmcqvgptk5qS3lNAefGNJKb7arK//sOCgyewrtsXYRelzP FmF9lLf1UuhIU3kSbe4ZD0BlD0NGytn3/0YHvpIRimvyQUHP5Bpnum/KYtukIGF+iZOF yWvkr789awcCR4DHr6+H2jo7g8EPsi9q4WTOFv35yisHyGxvl0lnxy5Zjw3Hb3aMbnZt ix4QOYNZovMGnYzHs20f4MVwdlHiR6rVt4JEGW1Q8DixL0Mvl+qdvxZLJxbIu9/xeKan megA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=IxACKR554CE6mb1mO5+ehZ+7XLCVeOAc0HMGFj73Azk=; fh=HKgiOHUFLyfVG2npWMLYE8/3Ecp4EiEdadhQOzpm3aI=; b=hm+0SZw7pYj8wdq08EyAhNksAIb30vdXl0zPEtwQswugfjmaGHD9K54+w4Z+zt8no7 QnfW4zzI3YbYwsxg7HFzHblrayFXSoCH8/0kAUDcwtliTj4kYjViMA12vK+LagOfoGEW 9hzsiMCM79s48h1yLPyn8dX08ZEItBQ4BrUmMiQZ+zUoZxx6Ixlq6Biwu1CdCtXnSg7k gxIjW+4PiEtj4zf/w846P7QLon8Ew1IOJRaNIm/MuXybu4F7xiaDPN/0TumecIxhqrVi Hnc3hpTTY6SIgZZviWYvkn3oQm9jzcYUSRbe6c8qjTX+yCFHKGgJc/Bhw7WCpMWg4hR8 SgXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=AHFO5iqA; 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=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id i2-20020a1709064ec200b00988a6f59292si92327ejv.600.2023.08.30.15.56.11 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Aug 2023 15:56:11 -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=@gcc.gnu.org header.s=default header.b=AHFO5iqA; 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=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id CA3EF3858023 for <ouuuleilei@gmail.com>; Wed, 30 Aug 2023 22:55:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CA3EF3858023 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1693436157; bh=IxACKR554CE6mb1mO5+ehZ+7XLCVeOAc0HMGFj73Azk=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=AHFO5iqAc1EwqlVSD9eFWaxfV/tv1k6uzMc3CAqU7NUEFaDeOAsIYYpmTnRMf4WGl au2qeGSvU2CaCrvSnOZonhQa8S+zyO6KHgLanHXxm9zwa5ABgHy9UZ4GtyBII15Lh2 VFHHet7VuIvqepdqPD9lRT6ZXL2Czu3OOJlzq8wE= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-sender-0.a4lg.com (mail-sender-0.a4lg.com [IPv6:2401:2500:203:30b:4000:6bfe:4757:0]) by sourceware.org (Postfix) with ESMTPS id 295E23858D20 for <gcc-patches@gcc.gnu.org>; Wed, 30 Aug 2023 22:55:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 295E23858D20 Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail-sender-0.a4lg.com (Postfix) with ESMTPSA id C4896300089; Wed, 30 Aug 2023 22:55:07 +0000 (UTC) To: Tsukasa OI <research_trasio@irq.a4lg.com>, Kito Cheng <kito.cheng@gmail.com>, Palmer Dabbelt <palmer@dabbelt.com>, Andrew Waterman <andrew@sifive.com>, Jim Wilson <jim.wilson.gcc@gmail.com>, Jeff Law <jeffreyalaw@gmail.com> Cc: gcc-patches@gcc.gnu.org Subject: [RFC PATCH v2 0/1] RISC-V: Add support for 'XVentanaCondOps' reusing 'Zicond' support Date: Wed, 30 Aug 2023 22:54:56 +0000 Message-ID: <cover.1693436086.git.research_trasio@irq.a4lg.com> In-Reply-To: <2adcf40a405ec562076e5cdbc185ff3b7ddd48da.1693377796.git.research_trasio@irq.a4lg.com> References: <2adcf40a405ec562076e5cdbc185ff3b7ddd48da.1693377796.git.research_trasio@irq.a4lg.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, KAM_MANYTO, KAM_SHORT, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no 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> From: Tsukasa OI via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Tsukasa OI <research_trasio@irq.a4lg.com> 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: INBOX X-GMAIL-THRID: 1775635505065508451 X-GMAIL-MSGID: 1775696527231297404 |
Series |
RISC-V: Add support for 'XVentanaCondOps' reusing 'Zicond' support
|
|
Message
Tsukasa OI
Aug. 30, 2023, 10:54 p.m. UTC
PATCH v1: <https://gcc.gnu.org/pipermail/gcc-patches/2023-August/628786.html> Changes: v1 -> v2 * Removed bogus opt2 pattern as pointed out in: <https://gcc.gnu.org/pipermail/gcc-patches/2023-August/628867.html> note that this is not in the ChangeLog expecting the patch above applies first. Tsukasa OI (1): RISC-V: Add support for 'XVentanaCondOps' reusing 'Zicond' support gcc/common/config/riscv/riscv-common.cc | 2 + gcc/config/riscv/riscv-opts.h | 6 +++ gcc/config/riscv/riscv.cc | 4 +- gcc/config/riscv/riscv.md | 2 +- gcc/config/riscv/riscv.opt | 3 ++ gcc/config/riscv/zicond.md | 52 ++++++++++++------- .../xventanacondops-primitiveSemantics-rv32.c | 45 ++++++++++++++++ .../xventanacondops-primitiveSemantics.c | 48 +++++++++++++++++ .../gcc.target/riscv/xventanacondops-xor-01.c | 14 +++++ 9 files changed, 154 insertions(+), 22 deletions(-) create mode 100644 gcc/testsuite/gcc.target/riscv/xventanacondops-primitiveSemantics-rv32.c create mode 100644 gcc/testsuite/gcc.target/riscv/xventanacondops-primitiveSemantics.c create mode 100644 gcc/testsuite/gcc.target/riscv/xventanacondops-xor-01.c base-commit: 597b9ec69bca8acb7a3d65641c0a730de8b27ed4