File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -299,17 +299,12 @@ Each `TARGET-CLONES-ATTR-STRING` defines a distinguished version of the function
299299The 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-
308305EXTENSIONS := <EXTENSION > ',' <EXTENSIONS >
309306 | <EXTENSION >
310307
311- FULLARCHSTR := <full-arch-string >
312-
313308EXTENSION := <OP > <EXTENSION-NAME > <VERSION >
314309
315310OP := '+'
@@ -347,17 +342,12 @@ Each `TARGET-VERSION-ATTR-STRING` defines a distinguished version of the functio
347342The 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-
356348EXTENSIONS := <EXTENSION> ',' <EXTENSIONS>
357349 | <EXTENSION>
358350
359- FULLARCHSTR := <full-arch-string>
360-
361351EXTENSION := <OP> <EXTENSION-NAME> <VERSION>
362352
363353OP := '+'
@@ -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 ")))
382372int foo(int a)
383373{
384374 return a + 5;
You can’t perform that action at this time.
0 commit comments