Skip to content

Commit

Permalink
c-api: Remove trailing whitespace
Browse files Browse the repository at this point in the history
The new CI/CD steps complain about a trailing whitespace.
Let's remove that.

Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
  • Loading branch information
cmuellner committed Dec 18, 2024
1 parent 6c42a1f commit fc0dde0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/c-api.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ All `length` fields should be initialized to zero if `__init_riscv_feature_bits`

NOTE: To detect failure in the `__init_riscv_feature_bits` function, it is recommended to check that `__riscv_feature_bits.length` is non-zero.

Each queryable extension must have an associated `groupid` and `bitmask` that indicates its position within the features array.
Each queryable extension must have an associated `groupid` and `bitmask` that indicates its position within the features array.

> For example, the zba extension is represented by `groupid`: 0 and `bitmask`: `1ULL << 27`. Users can check if the zba extension is enabled using: `__riscv_feature_bits.features[0] & (1ULL << 27)`.

Expand Down

0 comments on commit fc0dde0

Please sign in to comment.