From patchwork Tue Feb 8 03:20:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Palmer Dabbelt X-Patchwork-Id: 50903 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 E3260385800E for ; Tue, 8 Feb 2022 04:30:25 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by sourceware.org (Postfix) with ESMTPS id AF95D3858C2D for ; Tue, 8 Feb 2022 04:29:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AF95D3858C2D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivosinc.com Received: by mail-pf1-x436.google.com with SMTP id x65so2240013pfx.12 for ; Mon, 07 Feb 2022 20:29:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20210112.gappssmtp.com; s=20210112; h=subject:date:message-id:mime-version:content-transfer-encoding:cc :from:to; bh=W9SckoAKP07crUC9lhExLKxyh61GuRXF/ZcQTGUGU1k=; b=1VDiZvf5SSXS4H2pZNOVtMAg1TUI1GSyJkFyG0+30+5DaeukAhvBF3W9jACxhRv9Ae NeHsG5HBPZ9bvuuCUzqWNIX0r7FWOYSJgxvi6HaWl4Oagbh5+RWlDzon5BuSKo3zHxCm pTJzy/FUXyoTJyGLPbWO1+hF9//o41pGrzzIzlDhuTgrLflh3UUYQNok7Cnf9eCzuRL6 0XCA09bwCJ9Y++faLHNqB6DefhnUPfudhNBU39fQuBLkJGpiINpoRFPWFHfvKfVRHsZ4 efR/pvB/ddToJYFqpgLbuEiAFM0KNnh+eqdt1f+AI75D/PjWaMbxk/p/tOhfpY9AGOZS grcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:date:message-id:mime-version :content-transfer-encoding:cc:from:to; bh=W9SckoAKP07crUC9lhExLKxyh61GuRXF/ZcQTGUGU1k=; b=zYmkpjkR34T17/wrrFhooEs4sHPBfjOodJjevkvtJer3u+I2MU43y8fL51PeBr6hkU A2RSoPz7Wopd2wLOYliIKm4EMZSXbdZzLN5r3GlArWFbJCmWuHD16kezVcaEvHQDmpFH BUwSCasdjFyFXEp6NrJjCrOMdGk8YAA//8zWnz4DngZ/VTBNb6xKHM7TdzN3A6iDh8Nb wLas8RkQXARRMiYhLNh+3X5c5g0WZd4UwhZ/VJkO6hkdLqLfSCkEdZdcXSkybMo5WSUk UqUOOZ+qKht16Y+xuSZFFRowTA4hxqe3Qv2+fAPjDeYxdV+w8XLuLWUlZ2Uef9FQU3iB pp5g== X-Gm-Message-State: AOAM532EvFcWBrw6F3BHWQ9HUs/J/WJ0v833Qn/k0zmG2v3pXcJZl/JP eVq9cbWna+nAu4T1sjWbIswmzUL1vHGdSQ== X-Google-Smtp-Source: ABdhPJzw6kxvBCKtuyRoSLwbJFSUbZCBmtBJJD+6yrOpELNnKjKNuB/HaVI5dKkLaFgG7dKUexGrrw== X-Received: by 2002:a05:6a00:d72:: with SMTP id n50mr2617896pfv.51.1644294579768; Mon, 07 Feb 2022 20:29:39 -0800 (PST) Received: from localhost ([12.3.194.138]) by smtp.gmail.com with ESMTPSA id u37sm9764065pga.2.2022.02.07.20.29.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Feb 2022 20:29:39 -0800 (PST) Subject: [PATCH] doc: invoke: RISC-V: Clean up the -mstrict-align wording Date: Mon, 7 Feb 2022 19:20:33 -0800 Message-Id: <20220208032033.2357-1-palmer@rivosinc.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 From: Palmer Dabbelt To: gcc-patches@gcc.gnu.org X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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: , Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" The polarity of do/do not was reversed for this option when compored to the rest of them. This seems to have been copied from PowerPC, when the polarity of the arguments in the docs was reversed (presumably to match the default), but appears to have never made sense on RISC-V. gcc/ChangeLog * doc/invoke.texi (RISC-V -mstrict-align): Re-word the do/do not language. Signed-off-by: Palmer Dabbelt --- gcc/doc/invoke.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 0ebe538ccdc..5e8af05e359 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -27702,7 +27702,7 @@ integer load/stores only. @item -mstrict-align @itemx -mno-strict-align @opindex mstrict-align -Do not or do generate unaligned memory accesses. The default is set depending +Do or do not generate unaligned memory accesses. The default is set depending on whether the processor we are optimizing for supports fast unaligned access or not.