You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update profiles format descriptions, follow all comments in discuss. Thanks Alex Bradbury and Kito Cheng's review.
Signed-off-by: Jiawei <[email protected]>
Copy file name to clipboardExpand all lines: README.mkd
+22-9Lines changed: 22 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -61,25 +61,38 @@ The ISA subset naming conventions are described in Chapter 27 of the RISC-V
61
61
user-level ISA specification. However, tools do not currently follow this
62
62
specification (input is case sensitive, ...).
63
63
64
+
If the 'C' (compressed) instruction set extension is targeted, the compiler
65
+
will generate compressed instructions where possible.
66
+
64
67
### Profile-based format
65
68
66
-
Profiles should be recognized and used in the `-march=` option.
67
-
The benefit is that it is easy for toolchain parsing the profiles string and expanding it into normal extensions combinations. It’s also easy to combine a profile with any extensions.
69
+
Profiles should be recognized and used in the `-march=` option. The benefit use
70
+
`-march` option is easy for toolchain parsing the profiles string and expanding
71
+
it into normal extensions combinations.
72
+
73
+
Profiles format has the following form `-march=<profile-name>[+<option-ext>]+`.
68
74
69
-
As the spec defines, to use the profiles it should follow profile naming convention (See [3.4 form spec doc](https://github.com/riscv/riscv-profiles)), the toolchain will check whether an input profile name is correct at first, then do the parse work.
75
+
As the spec defines, to use the profiles it should follow profile naming convention
76
+
(See [3.4 form spec doc](https://github.com/riscv/riscv-profiles)), the toolchain
77
+
will check whether an input profile name is correct at first, then do the parse
78
+
work.
70
79
71
-
In order to distinguish between ordinary extension input and input with profiles, profiles are assumed to be entered `at the beginning of the -march option`, and then input other extensions. Profiles `should use uppercase letters` in the -march option.
80
+
In order to distinguish between ordinary extension input and input with profiles,
81
+
profiles are assumed to be entered `at the beginning of the -march option`, and
82
+
then input other extensions. Profiles `should use uppercase letters` in the `-march`
83
+
option.
72
84
73
85
e.g. `-march = RVA20U64` is a legal profile input, it will be expand into:
0 commit comments