From patchwork Sun Nov 14 21:47:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Tomsich X-Patchwork-Id: 47635 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B5252385843B for ; Sun, 14 Nov 2021 21:48:19 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by sourceware.org (Postfix) with ESMTPS id 3C6263858D39 for ; Sun, 14 Nov 2021 21:48:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3C6263858D39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=vrull.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=vrull.eu Received: by mail-lf1-x12e.google.com with SMTP id y26so38071480lfa.11 for ; Sun, 14 Nov 2021 13:48:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vrull-eu.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mGevJ6vmJzjbKPE4P23i0XZOlZ//QHLcO855dEv6z9A=; b=KVkYT1Kh5BjUG4Tfw5GSKeTTHxAyvGl4Rflyv15+j1KFi/kI1EivTBs3OUcw6x+pdC iexCpT/qMnGr6zTBSFMYV708KRU0Wn3Ejbb/SVb0aVr2K1eKDrb3Gj8vW8M1JwOwZ8Bv jK9vL03xx+seEuTYGZ90hO/TeD0c8MSnBuLvMDyo/CEvNJfASiyv7yGD3uQX8Sm+cj+p 8XmBjeaCmckXL0jCDAIO+OHcWbe2uQHGet9QM49LKcrRNtKoVJIBw0sJmU2DsUye1hjQ rSt6PGHAnCczHMkiZupBLYCVdlG8SFucaop2SFbPfv8EKzPnWVRtvXiXBH7dTiTesVJq nBcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mGevJ6vmJzjbKPE4P23i0XZOlZ//QHLcO855dEv6z9A=; b=dGK2IXTi3yqPhHvFs2Wh9/bYmqXRtUTsDea0rpDWwikYUN5x7aVnjOimJiAIymA/6o qfKiFSFdWeJ1ApeJ8mLYaYosSD6D6YfaXIZXC/qPk8woThiPDS4qQ7+qiKyjKKgob1CT AsUNNKjylT6sG4nnVvDCn4pLXxXCqHxyebLQA0KHl3xHDWy1AEQLjBX2QBTrPlgttAGu makOk0NnyOvLgMcRtr99v+FyXOtkDLg+emLswIYMXHp1LTuERchfvl7hlJOTT8oFVHAb Iob+wYwShRUJ2IdzAbeDrKnkQgdSrg9Z9gAIrB8hC8erPtfXo00YQ+P/tV1z7sSb1st9 NZjw== X-Gm-Message-State: AOAM532PAusZlKite6JAtS+NpIWc4US8Lv5/IfNUL6OCEhW/392Yab4t m7sCEAun1h6zoXaH5M5uLRxGg2+kaRVxpTct X-Google-Smtp-Source: ABdhPJzoUxiFasblDrnSpb3MGSqFrt24rNdiKyymk52y1o8GN6Og6ng41xvCjSrXZ4XfjJ8P7pjbng== X-Received: by 2002:a05:6512:4025:: with SMTP id br37mr29937082lfb.2.1636926480798; Sun, 14 Nov 2021 13:48:00 -0800 (PST) Received: from ubuntu-focal.. ([2a01:4f9:3a:1e26::2]) by smtp.gmail.com with ESMTPSA id f4sm1218692lfr.43.2021.11.14.13.48.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Nov 2021 13:48:00 -0800 (PST) From: Philipp Tomsich To: gcc-patches@gcc.gnu.org Subject: [PATCH v1 0/2] Basic support for the Ventana VT1 w/ instruction fusion Date: Sun, 14 Nov 2021 22:47:55 +0100 Message-Id: <20211114214757.3190803-1-philipp.tomsich@vrull.eu> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, JMQ_SPF_NEUTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: wilson@tuliptree.org, kito.cheng@gmail.com, Philipp Tomsich Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" This series provides support for the Ventana VT1 (a 4-way superscalar rv64gc_zba_zbb_zbc_zbs core) including support for the supported instruction fusion patterns. This includes the addition of the fusion-aware scheduling infrastructure for RISC-V and implements idiom recognition for the fusion patterns supported by VT1. Philipp Tomsich (2): RISC-V: Add basic support for the Ventana-VT1 core RISC-V: Add instruction fusion (for ventana-vt1) gcc/config/riscv/riscv-cores.def | 2 + gcc/config/riscv/riscv-opts.h | 3 +- gcc/config/riscv/riscv.c | 210 +++++++++++++++++++++++++++++++ gcc/config/riscv/riscv.md | 2 +- gcc/doc/invoke.texi | 4 +- 5 files changed, 217 insertions(+), 4 deletions(-)