Skip to content

Commit a58b156

Browse files
committed
Remove full-arch situation
1 parent b33e1cf commit a58b156

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

riscv-c-api.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -299,17 +299,12 @@ Each `TARGET-CLONES-ATTR-STRING` defines a distinguished version of the function
299299
The syntax of `<TARGET-CLONES-ATTR-STRING>` describes below:
300300
301301
```
302-
TARGET-CLONES-ATTR-STRING := 'arch=' EXTENSIONS-OR-FULLARCH
302+
TARGET-CLONES-ATTR-STRING := 'arch=' EXTENSIONS
303303
| 'default'
304304

305-
EXTENSIONS-OR-FULLARCH := <EXTENSIONS>
306-
| <FULLARCHSTR>
307-
308305
EXTENSIONS := <EXTENSION> ',' <EXTENSIONS>
309306
| <EXTENSION>
310307

311-
FULLARCHSTR := <full-arch-string>
312-
313308
EXTENSION := <OP> <EXTENSION-NAME> <VERSION>
314309

315310
OP := '+'
@@ -347,17 +342,12 @@ Each `TARGET-VERSION-ATTR-STRING` defines a distinguished version of the functio
347342
The syntax of `<TARGET-VERSION-ATTR-STRING>` describes below:
348343

349344
```
350-
TARGET-VERSION-ATTR-STRING := 'arch=' EXTENSIONS-OR-FULLARCH
345+
TARGET-VERSION-ATTR-STRING := 'arch=' EXTENSIONS
351346
| 'default'
352347
353-
EXTENSIONS-OR-FULLARCH := <EXTENSIONS>
354-
| <FULLARCHSTR>
355-
356348
EXTENSIONS := <EXTENSION> ',' <EXTENSIONS>
357349
| <EXTENSION>
358350
359-
FULLARCHSTR := <full-arch-string>
360-
361351
EXTENSION := <OP> <EXTENSION-NAME> <VERSION>
362352
363353
OP := '+'
@@ -378,7 +368,7 @@ int foo(int a)
378368
return a + 5;
379369
}
380370

381-
__attribute__((target_version("arch=rv64gc_zbb")))
371+
__attribute__((target_version("arch=+zbb")))
382372
int foo(int a)
383373
{
384374
return a + 5;

0 commit comments

Comments
 (0)