From patchwork Sun Dec 7 00:10:18 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandra Loosemore X-Patchwork-Id: 126077 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8B2764399E07 for ; Sun, 7 Dec 2025 00:19:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8B2764399E07 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.a=rsa-sha256 header.s=20230601 header.b=JtSds393 X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-oi1-f195.google.com (mail-oi1-f195.google.com [209.85.167.195]) by sourceware.org (Postfix) with ESMTPS id 774C341436D1 for ; Sun, 7 Dec 2025 00:10:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 774C341436D1 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=baylibre.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 774C341436D1 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.85.167.195 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1765066255; cv=none; b=ACuyBfqjhgWWyYkn2FqseCLHDpNGNU+i/xFLVfQdd+8ENO/DtWMJxGLEpTsKwN4HavEXvpmG8JZmzw4JOjjREeawIXAzd3/DWtC6BlWBGZUZm8D/3nDUAj4DB+Tw0zOZLJbAVdNAT2pBOVQa00XBlf3jaS9mwxReuDLxcIL1bAE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1765066255; c=relaxed/simple; bh=e8Zd+o3EX60SJTwFzXgvcZrXg7xJoFatgNIl/lcpktw=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=qlkhRJK3fkvoBwnQ25VLcFW3pTrtburmytgvWBa9b5zO9Aid2OPCS8UEi8Pfx+RgtADvAThPTMgLFLqYJl1svlnWrwOwPD3UaVLI4LDuVKZkLtQDnqE0icvsNglB3KN/gB5+zMekYd6tCQCtHDj8q91kMdEz0mH5cpOtjsgKFaU= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 774C341436D1 Received: by mail-oi1-f195.google.com with SMTP id 5614622812f47-450b5338459so1970308b6e.2 for ; Sat, 06 Dec 2025 16:10:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1765066255; x=1765671055; 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=WeWb/6PcIpkXrMRK1VtGXM70FDS0Ts42Oiu3pEJORSY=; b=JtSds393fklHTqh8tbPZ/brsDwkt6qzu2T3Y6kWPetx6sSZ1N7AnEm3N8id+/0diSS wZ3OvsghRDgz6BwSACqy1zfDQtwuMhsFAS3xHe6bwI1x99l0pI38NXIwOM6xl6Tl0mjf oQuHnUxRjnaQIn6lb19U7+WXpdgSKZlW5mKSulqyO9VtExz1KDJl7vuyXAbe5ytVNZSa 079nNK5cKebArvJ0b63cVhvnHJ5/YLQmkA5Z3z4VhgDYj4R7ZWOZ1/GvtxEBe4Gs6ciu mdPT9JJ/GZJjCPsnzt0GFYUI3dI8ujmH2CKssjGwMbXOfUnRPWZYw3nw9UQBWIdYWvTb nLiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765066255; x=1765671055; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=WeWb/6PcIpkXrMRK1VtGXM70FDS0Ts42Oiu3pEJORSY=; b=BZlieBRoLRvjtYDpynDp4AqPePKrmQMLjqy+8Ca0r2uHXjODMfs3FGAIme0eAgB3V6 LBa8ESfKFRp9YMfwvKO6AbTgVtTdPpps4JPAfmtQ/6MVAWu4eIR5frnml3C2za7FaO1T 7DOD/PHPDk30ipZFJyW9sEp9T/y7MPnoFxSN3EGChI2F2Ej+fN54aKyYaSqVz1DTFJsV XE5etAqA9j9GiF+DBCVZqOxADaN9Cpsb24mojSE84SnsGxTbpuPIbiSzcTDT0qD1LXIX gLd5OmyjzY7r76y2q40gnZg4M1qT47bEm6oJ5Gm56xfUniKQmuFFelIldOknhNebpgNh cT9A== X-Gm-Message-State: AOJu0YzdgzT66TbhmkYyDzeVRZSgGVu94icmwV9oUdKmwsQfWOP/opI8 TZVFvtWFc2R6tKRMMOwcJJRbtJfI9NMFEkn0m8Onbsh2VTKPqUFMq3t3I0Oeyb7t5BJmIE5Oewr 9E3QeCAA= X-Gm-Gg: ASbGncuQDNx387gUZU8LmnHqe2rtn2OtMJIuqior5igObdjhdQq8+xL15StqgmTqFKH 3xV8f1IhBJ/Sw0BniKLYJa4TH9NLp29oyBD6twkNAbVO7mpsmxj6xN0z/hx63XGqn0a6FtMTDQX w/iZRxzSiD96G+ogeMNKsKoq6/cDETC/pc+SaF8s6B3ZbO6k5zO3l7ARgWJpqi9QStl6im/PmIt Evaxhix2twUpkakNihdp3vJTPouMNCbNWZaTgVcfaRogIzWw2Gcjj1sxm6uuMnA5StSLtn9ueCf j/n5rcvNFc2j8k+3PERalTSosoNLUMUOdhyPcviqTjvJvnD1KOVJrE8RnLt/VFCTjyabS65J8pc d3J87+wAJZkHDZj/w5JazZJsybajxtY8wWlIOa2M8rINpqOTSpbsBxh6rpvKAA91D6Yjxxbl/kr wfxhTjkWIRqD/h X-Google-Smtp-Source: AGHT+IE5d3uOyQ4wGiVWt1cpYz4wa92EzoSzru3JDUN8jxGGRWgFkNfQzFOu6hA9OEEgNXCdnujFYw== X-Received: by 2002:a05:6808:130c:b0:450:d6fe:898d with SMTP id 5614622812f47-4539e06e3b7mr1136572b6e.32.1765066254658; Sat, 06 Dec 2025 16:10:54 -0800 (PST) Received: from localhost.localdomain ([2601:281:d901:97c0::6b05]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7c95a8f8d0bsm7598391a34.5.2025.12.06.16.10.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Dec 2025 16:10:53 -0800 (PST) From: Sandra Loosemore To: gcc-patches@gcc.gnu.org Cc: nickc@redhat.com Subject: [PATCH 08/20] doc, m32r: Clean up documentation of M32R/D options [PR122243] Date: Sat, 6 Dec 2025 17:10:18 -0700 Message-Id: <20251207001030.1024365-9-sloosemore@baylibre.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251207001030.1024365-1-sloosemore@baylibre.com> References: <20251207001030.1024365-1-sloosemore@baylibre.com> MIME-Version: 1.0 X-Spam-Status: No, score=-11.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED, 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 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~patchwork=sourceware.org@gcc.gnu.org gcc/ChangeLog PR other/122243 * doc/invoke.texi (Option Summary) : Remove redundant -mno entry. (M32R/D Options): Regularize form of @opindex entries for various options of the form -mfoo=@var{value}. Combine the documentation for -malign-loops and -mno-align-loops. --- gcc/doc/invoke.texi | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 3c9d004790f..2ce6462c66d 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -1173,7 +1173,7 @@ Objective-C and Objective-C++ Dialects}. @emph{M32R/D Options} (@ref{M32R/D Options}) @gccoptlist{-m32r2 -m32rx -m32r -mdebug --malign-loops -mno-align-loops +-malign-loops -missue-rate=@var{number} -mbranch-cost=@var{number} -mmodel=@var{code-size-model-type} @@ -29110,6 +29110,7 @@ Generate code for the M32R/X@. @item -m32r Generate code for the M32R@. This is the default. +@opindex mmodel @opindex mmodel=small @item -mmodel=small Assume all objects live in the lower 16MB of memory (so that their addresses @@ -29134,6 +29135,7 @@ assume subroutines may not be reachable with the @code{bl} instruction (the compiler generates the much slower @code{seth/add3/jl} instruction sequence). +@opindex msdata @opindex msdata=none @item -msdata=none Disable use of the small data area. Variables are put into @@ -29175,24 +29177,22 @@ Makes the M32R-specific code in the compiler display some statistics that might help in debugging programs. @opindex malign-loops -@item -malign-loops -Align all loops to a 32-byte boundary. - @opindex mno-align-loops -@item -mno-align-loops -Do not enforce a 32-byte alignment for loops. This is the default. +@item -malign-loops +@itemx -mno-align-loops +Align all loops to a 32-byte boundary. This option is disabled by default. -@opindex missue-rate=@var{number} +@opindex missue-rate @item -missue-rate=@var{number} Issue @var{number} instructions per cycle. @var{number} can only be 1 or 2. -@opindex mbranch-cost=@var{number} +@opindex mbranch-cost @item -mbranch-cost=@var{number} @var{number} can only be 1 or 2. If it is 1 then branches are preferred over conditional code, if it is 2, then the opposite applies. -@opindex mflush-trap=@var{number} +@opindex mflush-trap @item -mflush-trap=@var{number} Specifies the trap number to use to flush the cache. The default is 12. Valid numbers are between 0 and 15 inclusive. @@ -29201,7 +29201,7 @@ Specifies the trap number to use to flush the cache. The default is @item -mno-flush-trap Specifies that the cache cannot be flushed by using a trap. -@opindex mflush-func=@var{name} +@opindex mflush-func @item -mflush-func=@var{name} Specifies the name of the operating system function to call to flush the cache. The default is @samp{_flush_cache}, but a function call