Skip to content

Commit 659e1fa

Browse files
committed
Update example
1 parent fabd52a commit 659e1fa

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
@@ -319,7 +319,7 @@ EXTENSION-NAME := Naming rule is defined in RISC-V ISA manual
319319
For example, the following `foo` function will have three versions but share the same function signature.
320320
321321
```c
322-
__attribute__((target_clones("arch=+v", "default", "arch=rv64gc_zbb")))
322+
__attribute__((target_clones("arch=+v", "default", "arch=+zbb")))
323323
int foo(int a)
324324
{
325325
return a + 5;

0 commit comments

Comments
 (0)