From patchwork Mon Nov 28 21:37:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Palmer Dabbelt X-Patchwork-Id: 26958 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp5957861wrr; Mon, 28 Nov 2022 13:38:20 -0800 (PST) X-Google-Smtp-Source: AA0mqf7mwPRImLSqJ2MI9NzYNtF96XXC8WjKOAT56VTbYhGmcWHs+89Chppgl6xUp+0C9nWfgWwZ X-Received: by 2002:a17:906:a58:b0:7ad:b45c:dbca with SMTP id x24-20020a1709060a5800b007adb45cdbcamr34370031ejf.388.1669671499994; Mon, 28 Nov 2022 13:38:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669671499; cv=none; d=google.com; s=arc-20160816; b=jasK8aZMvgh+cWMnJGWpLiMBGX1DLbcdKHNCQgs7khyZleYqu8TZufbcCTUmTpUlYy LrY6Ptq4YjPSm+/TWtkQ7vCmD5TUxsaH7OjiwomIdR02XS5R8/Vzt2rEU8ZxyNy1VpQw W0g8l/sZRuPAe60lpJvwynbDyMsV03kFAeIWAiL1X9x83WPN6UXcMMYxp/IfP8VvKJ+v BstEv4TpEVv7rn/aLX8D2BqGiLcdjOYHh3uSq/yJ7gy8TECUgkW/o922jFK7cv/lltCz vdD06VnynXK/iQND8uDGsD+d0ZhBoyglqo6ZuN1Q0CMj9XyBSiioHAnXCuGu7GOsyi/p H1nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:to:from:cc :content-transfer-encoding:mime-version:message-id:date:subject :dkim-signature:dmarc-filter:delivered-to; bh=9lAAIBhH81qJr1Daeb1latsgN7olm1FALXcjPq4zXFU=; b=FOMdFIjBcPw8yQvoqVzaQUamMWLWaqg6643UcqzBEpzY+a96YsgCOkdmQrKZHnsVna Wm5Qf1JROBDsmaCUZ2H2p7JtPZVPTfzhTffgL4E9jJaIzy08VxzJ6Q/MVdYnyFkUZbfJ VT+qqKO0vbexd5W4QKtMIZo+TdCprpiQMuST7wMwMZavVLT8mwPkXqTgI2Uq6MzyBlPo 8Ck+2wYJi5ClE7fEuTbufX0USCfunuXlw0S3kHuuXt2jrmto99uN/KHr3GfTubgllrr6 DPw3KTeqMwUFtzVj90seGl5ZOjV0zII3fUFiv3WWig4nSC4c32WpCglL7bkUMoqyqN3e 9LZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=8Or9IVUp; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id xh13-20020a170906da8d00b007a6384d506csi11118631ejb.643.2022.11.28.13.38.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Nov 2022 13:38:19 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=8Or9IVUp; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0A5833857BB3 for ; Mon, 28 Nov 2022 21:38:16 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by sourceware.org (Postfix) with ESMTPS id DD3233858C52 for ; Mon, 28 Nov 2022 21:37:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DD3233858C52 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-x430.google.com with SMTP id x66so11806991pfx.3 for ; Mon, 28 Nov 2022 13:37:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20210112.gappssmtp.com; s=20210112; h=to:from:cc:content-transfer-encoding:mime-version:message-id:date :subject:from:to:cc:subject:date:message-id:reply-to; bh=9lAAIBhH81qJr1Daeb1latsgN7olm1FALXcjPq4zXFU=; b=8Or9IVUpR6AwYaZXsphtxVrj63IrzvDs9yC7ypUUKZoUhJkyLe5aPqRZpLHWD+QLo1 ejm95LDLe7n/4CXLZnOaGpAGsyoirePaTvOBMZ48FOsw5CNiDLDepWU35/7pQjJAu+5V hFUsFE5KxfkEzKQzgTvsslcsF4fYsnO4okh6sZhbybRMl0J+TSAChPCVSwHnMlAuN2wP sk+bVX4Dik3/k25/iPnb6W/lOiGnGmC7cB22Ccb7G4yiy6cXLVaJ6qkuJ8uSdvNw9eG2 ynVOrrfOQgmgeM+oTPLHs62li3GEJSr72bTWvQbGeLteUqiikseSW50YXr3vXeEUFK2A VDDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:from:cc:content-transfer-encoding:mime-version:message-id:date :subject:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9lAAIBhH81qJr1Daeb1latsgN7olm1FALXcjPq4zXFU=; b=P2G7hHKWrMOKmeLpWiDgzUxt0/0qJWL6cCgBzTEvKbEwHwL1Z5IUkvC8ISJs5N1myq 8wK+/rNW9RY0j5Rv+adjYVHUKphBL7T86dYrTiie7DYQtM6GDbAkfYmdQCdxbWZhmcKO KSI4LDFGaX2jjNzyicR7v13AYEpEEgeoKMQgom9pK4pFMhZwewJVoSGPIItgHMOdf0Qd zGXwEQPfqdBLh+kVLYs/QPIFfMhMhKDkSFdp6Q6Bq6H6HhCM5NmmKOSUybFG9jNaO7AB yo2+kT/qh5q5oPogDJ+/KGpeywEwjPM3UJhW2exgJ8yF+JB08dt3E6bBRsYQEyhTQENp 4/1w== X-Gm-Message-State: ANoB5pnBPClMfZYfOhFsi8iLDdRwnWdGUEY5N/SdeCgYf+SOrfxRS+R+ bCQb9iphU6zu4Ep4wsqffjNCAw== X-Received: by 2002:aa7:9dc6:0:b0:561:b2ea:bfe9 with SMTP id g6-20020aa79dc6000000b00561b2eabfe9mr36212782pfq.4.1669671468844; Mon, 28 Nov 2022 13:37:48 -0800 (PST) Received: from localhost ([50.221.140.188]) by smtp.gmail.com with ESMTPSA id n14-20020a65488e000000b00476c2180dbcsm7192926pgs.29.2022.11.28.13.37.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Nov 2022 13:37:48 -0800 (PST) Subject: [PATCH] RISC-V: Fix up some wording in the mcpu/mtune comment Date: Mon, 28 Nov 2022 13:37:25 -0800 Message-Id: <20221128213725.13926-1-palmer@rivosinc.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Cc: Palmer Dabbelt From: Palmer Dabbelt To: gcc-patches@gcc.gnu.org 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 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+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750777462792213774?= X-GMAIL-MSGID: =?utf-8?q?1750777462792213774?= 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));