projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df049cb
)
RISC-V: Fix up some wording in the mcpu/mtune comment
author
Palmer Dabbelt
<palmer@rivosinc.com>
Mon, 28 Nov 2022 21:36:00 +0000
(13:36 -0800)
committer
Palmer Dabbelt
<palmer@rivosinc.com>
Fri, 16 Dec 2022 16:46:54 +0000
(08:46 -0800)
gcc/ChangeLog:
* config/riscv/riscv.cc (riscv_option_override): Fix comment
wording.
gcc/config/riscv/riscv.cc
patch
|
blob
|
history
diff --git
a/gcc/config/riscv/riscv.cc
b/gcc/config/riscv/riscv.cc
index
1f85391
..
6dd2ab2
100644
(file)
--- a/
gcc/config/riscv/riscv.cc
+++ b/
gcc/config/riscv/riscv.cc
@@
-5991,7
+5991,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));