* [PATCH] RISC-V: Fix up some wording in the mcpu/mtune comment
@ 2022-11-28 21:37 Palmer Dabbelt
2022-12-16 16:48 ` Palmer Dabbelt
0 siblings, 1 reply; 2+ messages in thread
From: Palmer Dabbelt @ 2022-11-28 21:37 UTC (permalink / raw)
To: gcc-patches; +Cc: Palmer Dabbelt
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));
--
2.38.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] RISC-V: Fix up some wording in the mcpu/mtune comment
2022-11-28 21:37 [PATCH] RISC-V: Fix up some wording in the mcpu/mtune comment Palmer Dabbelt
@ 2022-12-16 16:48 ` Palmer Dabbelt
0 siblings, 0 replies; 2+ messages in thread
From: Palmer Dabbelt @ 2022-12-16 16:48 UTC (permalink / raw)
To: gcc-patches
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-16 16:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-28 21:37 [PATCH] RISC-V: Fix up some wording in the mcpu/mtune comment Palmer Dabbelt
2022-12-16 16:48 ` Palmer Dabbelt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).