Skip to content

Commit

Permalink
Remove extra spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
wangpc-pp committed Jun 24, 2024
1 parent e100b91 commit 65c3dc4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions riscv-c-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ RISC-V intrinsics examples:
vint8m1_t __riscv_vadd_vv_i8m1(vint8m1_t vs2, vint8m1_t vs1, size_t vl); // vadd.vv vd, vs2, vs1
```
### Atomic Intrisics
### Atomic Intrisics
In order to access the RISC-V atomic intrinsics, it is necessary to include the
header file `riscv_atomic.h`.
Expand All @@ -352,10 +352,10 @@ required ISA extension.
The following table contains all the atomic intrinsics:
| Prototype | Instruction | Extension | Notes |
| --------- | ----------- | --------- | ----- |
| `void __riscv_wrs_nto();` | `wrs.nto` | Zawrs | |
| `void __riscv_wrs_sto();` | `wrs.sto` | Zawrs | |
| Prototype | Instruction | Extension | Notes |
| --------- | ----------- | --------- | ----- |
| `void __riscv_wrs_nto();` | `wrs.nto` | Zawrs | |
| `void __riscv_wrs_sto();` | `wrs.sto` | Zawrs | |
### NTLH Intrisics
Expand Down

0 comments on commit 65c3dc4

Please sign in to comment.