From patchwork Thu May 2 18:59:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 1930810 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.a=rsa-sha256 header.s=20230601 header.b=UaSw3nDu; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.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 ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VVjvv0bxDz1ydT for ; Fri, 3 May 2024 05:01:31 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 54BAB384AB58 for ; Thu, 2 May 2024 19:01:29 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by sourceware.org (Postfix) with ESMTPS id 20F1D3849AC9 for ; Thu, 2 May 2024 18:59:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 20F1D3849AC9 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivosinc.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 20F1D3849AC9 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::633 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714676377; cv=none; b=pYu65g4Tz5F7ANuQlJZwuML06u3XaOmQ/jnMEhQ/QRvbBByfKlg8ZvBnAiHHtIHxx/awfUmqR+6l3pZ+VwXTPMjY2U0Pm8u8+Il9xs9aTnUNp00F8C9Khqxl2nYW+uHWTAiQK9bCD8uW80yvYelKbMyyhHVwp4Zp3pYMN9iILkg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714676377; c=relaxed/simple; bh=XsQlgGFuCnR0hJ7Kjo6RX9VCMjdMj7CHzg3QXibwm3Q=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=WcrC3em6QARpgMnE6yBAWtfE+7lKY4AmAp3d/hNMbei/f82Qdto5CF60YgIsdxklk6aV2h0ZKK712EeWr+JVv3bi529cJ5DJirIP9JeHQ4uxuB/qiQR/xzyO1bGCLoKJZjMddPjiZXpejmdfmKKm4YpEtss4oFzhmKXXJ8R6RsM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1e4f341330fso77303525ad.0 for ; Thu, 02 May 2024 11:59:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1714676370; x=1715281170; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IFQ5aZAnH5/Do5QDdbZ47Uisg9Gu5T8qg6l6YYxZuO0=; b=UaSw3nDuZ2IIo8M4+lkUy1Q5XAlcRL7fLsE4KXTJmVDDRQR6LUFyVkqQdXZ7FiPGnQ tRjg8e/bL9bPieJSaf4MtdDMZUSjVEzqbatAMDtIcYzGqE+GA9GegSw4psOBTSRWVRZb 3a5dJab1loYH2DD4OlqP1Xo8qPnnCXKaIAYRB1AQ5+xfajxLau+fBchEAeHL+N6IWWbN XAbTAdOEiqGeNgl4fZs2iso+oG6Q7I5uvJsTs8dit7JZOpZ2nv+JkyJnUGBnMLdNGgFq dTaeTOETn+YdNdHUasWpYMHaVWHqSeffZGfFquYDqJbC1qouQF3OHL5Dh42JkdSUpoAw fKwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714676370; x=1715281170; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IFQ5aZAnH5/Do5QDdbZ47Uisg9Gu5T8qg6l6YYxZuO0=; b=kic/uejoy7p3rFtLcURfvX10NTC+PRJvKTJkAAYlViAFsK8ckKkmddJxTZkGI722Cw WWwT54UjP3Z2mbr3PJ7ZvSBRvo/2tls1aPYoChI3DF28uKCQRnVHFO9D4Fx2luCGVARk ek7+UQgEjbl3fDTVQlK0c+WVtyiPOnQUj5+3pVWAN1PO2tLZcanA/Ca8oK7t2wxWpLvO can0s0nGRI1iSEHbbooe+GVjOZwQT76qqlf4MxjSh0RMqzie5ptKZQcGitDXfHv32r6R DT4li4z3dkx11n9nwZM2TbMVav0hFm9upit88xaKC8EZavnH7+BAIFMdnJvcp5VJpxQs UVcQ== X-Gm-Message-State: AOJu0YwPdEw2VtlPB/uIziS25F8dip0YLLVTaDX+PnkrfxnYLFRd5L3p 7/keEHEZQOr7OaRKBWr1Aaq/xBoV/tyD8WZAKMKAIUyXtasoW8mbu5h7gq1Bd+aFZJR5mNQo6p5 QSAU= X-Google-Smtp-Source: AGHT+IEolS9zHYAIUTRf6zmjgfnP+pF7ggrb3gy2DCvlan2jOXnGe0dbPQ7B80pyPsi8I9e1jJq3dQ== X-Received: by 2002:a17:902:d503:b0:1e4:8c64:33a2 with SMTP id b3-20020a170902d50300b001e48c6433a2mr685391plg.68.1714676370577; Thu, 02 May 2024 11:59:30 -0700 (PDT) Received: from vineet-framework.ba.rivosinc.com ([50.145.13.30]) by smtp.gmail.com with ESMTPSA id l3-20020a170902d04300b001ec83bdfe78sm1667287pll.63.2024.05.02.11.59.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 11:59:30 -0700 (PDT) From: Vineet Gupta To: gcc-patches@gcc.gnu.org Cc: Jeff Law , kito.cheng@gmail.com, Palmer Dabbelt , Robin Dapp , gnu-toolchain@rivosinc.com, Vineet Gupta Subject: [PATCH 1/3] docs: rtl: document GET_MODE_INNER Date: Thu, 2 May 2024 11:59:22 -0700 Message-Id: <20240502185924.2060196-2-vineetg@rivosinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240502185924.2060196-1-vineetg@rivosinc.com> References: <20240502185924.2060196-1-vineetg@rivosinc.com> MIME-Version: 1.0 X-Spam-Status: No, score=-10.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP 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: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org gcc/ChangeLog * doc/rtl.texi: Add entry for GET_MODE_INNER. Signed-off-by: Vineet Gupta --- gcc/doc/rtl.texi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi index 8ea6588cb71f..f1643f41dfc6 100644 --- a/gcc/doc/rtl.texi +++ b/gcc/doc/rtl.texi @@ -1582,6 +1582,10 @@ less than or equal to @code{HOST_BITS_PER_INT}. @item GET_MODE_ALIGNMENT (@var{m}) Return the required alignment, in bits, for an object of mode @var{m}. +@findex GET_MODE_INNER +@item GET_MODE_INNER (@var{m}) +Returns the mode of subunits contained in a complex mode such as Vector. + @findex GET_MODE_UNIT_SIZE @item GET_MODE_UNIT_SIZE (@var{m}) Returns the size in bytes of the subunits of a datum of mode @var{m}.