From patchwork Fri Jul 2 02:30:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kito Cheng X-Patchwork-Id: 1499841 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=sifive.com header.i=@sifive.com header.a=rsa-sha256 header.s=google header.b=DzyZ1p0p; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GGJwD45W7z9sXS for ; Fri, 2 Jul 2021 12:30:36 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5721E3857437 for ; Fri, 2 Jul 2021 02:30:34 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by sourceware.org (Postfix) with ESMTPS id 545483858004 for ; Fri, 2 Jul 2021 02:30:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 545483858004 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=sifive.com Received: by mail-pl1-x62f.google.com with SMTP id i13so4771218plb.10 for ; Thu, 01 Jul 2021 19:30:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=eIebaHRTxPaePxGH+bePSJvoYgApUmwa28zsTAqThEU=; b=DzyZ1p0pIgZgIJodCg1egRz0InVIo63JMGrck4qv9uvNz+btgoajFeRjdFQw6lT7w0 tPS5sXbV6oi4mMIDpHhsVmYnG09wc1aBQ5erfK4wXg5Fn15VXS5VVNRXYlz1XhMc48tZ K4XNqFx5IBUdW2CgEzhUusLTflGhG04V6bSqQ1TBYbT/OUVmuT+Xp8KYpA3otAo5Y10x WpRvVfDDuExH1PA2ji1HVDWgCObItybzQRAChlDasJLvbc78cF5HDpLdjS3VR/HVzBPW VpIrik9oBtETUNuj+SpsqWSlFgm3z9gtV4Yc1IThFTTTXplSFwKMJoGG0ctosMCkqBsm E6Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=eIebaHRTxPaePxGH+bePSJvoYgApUmwa28zsTAqThEU=; b=MqvvIV4ltOWP2Jy6BXgqYIIP5bhTySWNfmPWEjw8rAbezrtkaYj0OZQdtIURFfgcSM IN6dYIPHNg/jker0hpGGNx1luwFvT7STfzbAC+kFAF6ZSh/klpK0Oa5hjUdnF6EBmqnH 8zhRmZuykwtSikMIw38TD40ECNU1wDTzXZD7c8ad2ncWNiNMvKJfVyV++fSZdfnULM3z BE2mgbOa1aTi9Qbd4j/ugm+qKLYVPXASzlrR90AaGCaXuQChHmL77Tndu/AFin5Q7/y+ nLf3kNFzOlYM/XpJX2lGBRpMMYexFp45y3OiJ3pHbGC6QKQ12fQl0YFOTm+3lculrvx9 oxCA== X-Gm-Message-State: AOAM532ic8NQPKrk6quSnKa5wHRyFCJnvQ05P/v0vX3F9ZEqXzB2R+Ip wE/xb2ql1fnfDLvQYQDqTXhD8ajEZaSBiA== X-Google-Smtp-Source: ABdhPJwd1KGren0h5zIeTfiOoKMrIQh0B2UzYA5ITc4oZHf8h7Bc+NSBGDKIuvFxMSK9PVOCPTX2bQ== X-Received: by 2002:a17:90a:9dc8:: with SMTP id x8mr1237762pjv.78.1625193019813; Thu, 01 Jul 2021 19:30:19 -0700 (PDT) Received: from hsinchu02.internal.sifive.com (59-124-168-89.HINET-IP.hinet.net. [59.124.168.89]) by smtp.gmail.com with ESMTPSA id m16sm1398416pfo.1.2021.07.01.19.30.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jul 2021 19:30:19 -0700 (PDT) From: Kito Cheng To: gcc-patches@gcc.gnu.org, kito.cheng@gmail.com, jimw@sifive.com, i@maskray.me Subject: [PATCH] docs: Add 'S' to Machine Constraints for RISC-V Date: Fri, 2 Jul 2021 10:30:10 +0800 Message-Id: <20210702023010.53289-1-kito.cheng@sifive.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Spam-Status: No, score=-13.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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: Kito Cheng Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" It was undocument before, but already used in linux kernel, so LLVM community suggest we should document that, so that make it become supported/documented/non-internal machine constraints. gcc/ChangeLog: PR target/101275 * doc/md.text (Machine Constraints): Document the 'S' constraints for RISC-V. --- gcc/doc/md.texi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index 00caf3844cc..b776623e8a5 100644 --- a/gcc/doc/md.texi +++ b/gcc/doc/md.texi @@ -3536,6 +3536,9 @@ A 5-bit unsigned immediate for CSR access instructions. @item A An address that is held in a general-purpose register. +@item S +A constant call address. + @end table @item RX---@file{config/rx/constraints.md}