Skip to content

Commit

Permalink
Merge pull request #41 from topperc/patch-1
Browse files Browse the repository at this point in the history
Prevent 2 underscores from being interpreted as italics
  • Loading branch information
kito-cheng authored Jun 10, 2023
2 parents b0b2747 + 3665356 commit c637e63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion riscv-c-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ Providing functionality via architecture-independent intrinsics is the preferred
Some intrinsics are only available if a particular header file is included.
RISC-V header files that enable intrinsics require the prefix `riscv_` (e.g. `riscv_vector.h` or `riscv_crypto.h`).

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

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

0 comments on commit c637e63

Please sign in to comment.