Skip to content

Commit 5696898

Browse files
committed
Bitmanip intrinsics: Fix orc_b_32 emulation comment for rv64
This fixes a simple copy-paste mistake in the orc_b_32 emulation comment for rv64. Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
1 parent 68c08c9 commit 5696898

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
@@ -452,7 +452,7 @@ Sign extension of 32-bit values on RV64 is not reflected in the interface.
452452
| `unsigned __riscv_ctz_64(uint64_t x);` | `ctz` | Zbb (RV64) | |
453453
| `unsigned __riscv_cpop_32(uint32_t x);` | `cpop[w]` | Zbb | |
454454
| `unsigned __riscv_cpop_64(uint64_t x);` | `cpop` | Zbb (RV64) | |
455-
| `uint32_t __riscv_orc_b_32(uint32_t x);` | `orc.b` | Zbb | Emulated with `rev8`+`sext.w` on RV64 |
455+
| `uint32_t __riscv_orc_b_32(uint32_t x);` | `orc.b` | Zbb | Emulated with `orc.b`+`sext.w` on RV64 |
456456
| `uint64_t __riscv_orc_b_64(uint64_t x);` | `orc.b` | Zbb (RV64) | |
457457
| `uint32_t __riscv_ror_32(uint32_t x, uint32_t shamt);` | `ror[i][w]` | Zbb, Zbkb | |
458458
| `uint64_t __riscv_ror_64(uint64_t x, uint32_t shamt);` | `ror[i]` | Zbb, Zbkb (RV64) | |

0 commit comments

Comments
 (0)