Skip to content

Commit 3665356

Browse files
authored
Prevent 2 underscores from being interpreted as italics
The intrinsic section tried to write __riscv_ but the two underscores were being parsed by markdown. This patch changes the quotation marks around the string to backticks to it will show as code instead. Alternatively, I can escape the underscore if we want the quotation marks. Signed-off-by: Craig Topper <craig.topper@sifive.com>
1 parent b0b2747 commit 3665356

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

riscv-c-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ Providing functionality via architecture-independent intrinsics is the preferred
204204
Some intrinsics are only available if a particular header file is included.
205205
RISC-V header files that enable intrinsics require the prefix `riscv_` (e.g. `riscv_vector.h` or `riscv_crypto.h`).
206206

207-
RISC-V specific intrinsics use the common prefix "__riscv_" to avoid namespace collisions.
207+
RISC-V specific intrinsics use the common prefix `__riscv_` to avoid namespace collisions.
208208

209209
The intrinsic name describes the functional behaviour of the function.
210210
In case the functionality can be expressed with a single instruction, the instruction's name (any '.' replaced by '_') is the preferred choice.

0 commit comments

Comments
 (0)