Skip to content

Commit 3c0dd07

Browse files
committed
Quote certain words
This is minor modification for consistency of the documentation. 1. Part of an command-line argument is quoted by a backquote. 2. Extension name ('C') is quoted by a single quote symbol.
1 parent b355149 commit 3c0dd07

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.mkd

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ documentation](https://gcc.gnu.org/onlinedocs/gcc/RISC-V-Options.html)
5050
## Specifying the target ISA with -march
5151

5252
The compiler and assembler both accept the `-march` flag to specify the target
53-
ISA, e.g. "rv32imafd". The abbreviation "g" can be used to represent either
53+
ISA, e.g. `rv32imafd`. The abbreviation `g` can be used to represent either
5454
`IMAFD` (when targeting RISC-V ISA specification version 2.2 or earlier) or
5555
`IMAFD_Zicsr_Zifencei` (version 20190608 or later) base and extensions,
5656
e.g. `-march=rv64g`. A target `-march` which includes floating point
@@ -104,7 +104,7 @@ impossible combinations of `-march` and `-mabi` such as `-march=rv32i` and
104104

105105
### Issues for consideration
106106
* Should the `-mabi` string be parsed case insensitively?
107-
* How should the RV32E ABI be specified? ilp32e?
107+
* How should the RV32E ABI be specified? `ilp32e`?
108108

109109
## Specifying the target code model with -mcmodel
110110

@@ -165,7 +165,7 @@ targeted RISC-V variant includes support for the 'C' compressed instruction
165165
set.
166166

167167
### Issues for consideration
168-
* There is currently no way to enable support for the C ISA extension, but to
168+
* There is currently no way to enable support for the 'C' ISA extension, but to
169169
disable the automatic 'compression' of instructions.
170170

171171
## C/C++ preprocessor definitions
@@ -306,8 +306,9 @@ for readability.
306306

307307
## TODO
308308

309-
* mdiv, mno-div, mfdiv, mno-fdiv, msave-restore, mno-save-restore,
310-
mstrict-align, mno-strict-align, -mexplicit-relocs, -mno-explicit-relocs
309+
* `-mdiv`, `-mno-div`, `-mfdiv`, `-mno-fdiv`, `-msave-restore`,
310+
`-mno-save-restore`, `-mstrict-align`, `-mno-strict-align`,
311+
`-mexplicit-relocs`, `-mno-explicit-relocs`
311312

312313
## Appendix: Exposing a vendor-specific extension across the toolchain
313314

0 commit comments

Comments
 (0)