From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by sourceware.org (Postfix) with ESMTPS id E965F383A0F2 for ; Fri, 16 Dec 2022 16:48:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E965F383A0F2 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-pj1-x1032.google.com with SMTP id js9so3057944pjb.2 for ; Fri, 16 Dec 2022 08:48:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:to:from :in-reply-to:subject:date:from:to:cc:subject:date:message-id :reply-to; bh=/eOaPGWEg/UPLAUG9UExyX6Q9EReGOASQRTDB+K8j6s=; b=ozs3I0jwu60FwgVplJYldOopG74UMnb8ZoFKMH6gbZFIAdSQX1c0JK8b8U5WF0TceM D5BjmJdYh8qfNb19LjXEvtsWal1QgXobIwUVob5zO3fwc1tG05J1X/WP58GfSzZ2o2/r OLxZXdN4tWcykODnl27Cyw2xFWy3iiKnbLgvAjEvJE4Ky1O7zBbDCrvzLNcgkDtdV5z3 4Gine/zjUchxNhwFfd3fX5+LfO0CYI3CD8Ggxg58bhrmTTAaguoVXDBjckHs1K7O78xG dO7zVFI7wgnMIRiUzpfW3aQtKNKGXELcQI94Hy9JaaGsauKK8uPWZbQjjjoxtvT2a+/Y ourg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:to:from :in-reply-to:subject:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=/eOaPGWEg/UPLAUG9UExyX6Q9EReGOASQRTDB+K8j6s=; b=kaeVSDuu4aRrxKNWlz3NXLBNLBU+PCHTePzRN3CKKVKxu3T8nRKU/ZYYDy9qtEGREr LXMn8Nm4NJsSHvwAc6yPaVY8rmAcccAyAYmSlx4mTasPzozHvFycu/uj2hjuBg0Mqe3O h/OIxKJz2dryFWfEfE/gZn6rEhdlaGz13IjKwuibcuW/4pOzA519usxrL+9uTc96GEVA CeQh/kVo6zrSXshfYoiyWF6/3/P+Hi3XvmC/dHiyT398JxP2HqG9/xVwlrO/im9HW0Do AyGrvZFuFlI9KxicWd7NGxQKHPTmQ9CN+jzEK7wJfWhSO+O9YL1nEQ7V0fBR3aS8RLzu ONtA== X-Gm-Message-State: ANoB5pn+YOFj5SuS8j1E4kblAjUi9ELS+lyM7HE0jBZaM84er0jRJGNs bbTEpjA/5xZ0YOO2y6RQ/sjQKnTSd8u5Cp+C X-Google-Smtp-Source: AA0mqf4uK21h1VX4C+hSx2qbDKEyJR92SjULqEoGYmXS5Ltm/UvQpOHk4GfNKBDRtNY9I/kHAd+/Zg== X-Received: by 2002:a17:903:3252:b0:189:e924:e279 with SMTP id ji18-20020a170903325200b00189e924e279mr33214685plb.49.1671209309581; Fri, 16 Dec 2022 08:48:29 -0800 (PST) Received: from localhost ([50.221.140.188]) by smtp.gmail.com with ESMTPSA id i16-20020a170902cf1000b00190f5e3bcd9sm1876887plg.23.2022.12.16.08.48.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Dec 2022 08:48:29 -0800 (PST) Date: Fri, 16 Dec 2022 08:48:29 -0800 (PST) X-Google-Original-Date: Fri, 16 Dec 2022 08:47:49 PST (-0800) Subject: Re: [PATCH] RISC-V: Fix up some wording in the mcpu/mtune comment In-Reply-To: <20221128213725.13926-1-palmer@rivosinc.com> From: Palmer Dabbelt To: gcc-patches@gcc.gnu.org Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.8 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 List-Id: On Mon, 28 Nov 2022 13:37:25 PST (-0800), Palmer Dabbelt wrote: > gcc/ChangeLog: > > * config/riscv/riscv.cc (riscv_option_override): Fix comment > wording. > --- > Just stumbled on this one looking at the output of that sed script. The > script itself was fine, the original comment was to blame. > --- > gcc/config/riscv/riscv.cc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/config/riscv/riscv.cc b/gcc/config/riscv/riscv.cc > index 05bdba5ab4d..26c11507895 100644 > --- a/gcc/config/riscv/riscv.cc > +++ b/gcc/config/riscv/riscv.cc > @@ -5978,7 +5978,7 @@ riscv_option_override (void) > target_flags |= MASK_FDIV; > > /* Handle -mtune, use -mcpu if -mtune is not given, and use default -mtune > - if -mtune and -mcpu both not given. */ > + if both -mtune and -mcpu are not given. */ > cpu = riscv_parse_tune (riscv_tune_string ? riscv_tune_string : > (riscv_cpu_string ? riscv_cpu_string : > RISCV_TUNE_STRING_DEFAULT)); Committed.