File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -305,6 +305,19 @@ __attribute__((target("arch=+v"))) int foo(void) { return 0; }
305305__ attribute__ ((target("arch=+zbb"))) int foo(void) { return 1; }
306306```
307307
308+ ### riscv_vector_cc
309+
310+ Supported Syntaxes:
311+ | Style | Syntax |
312+ | ------ | ----------------------------------- |
313+ | GNU | `__attribute__((riscv_vector_cc)))` |
314+ | C++11 | `[[riscv::vector_cc]]` |
315+ | C23 | `[[riscv::vector_cc]]` |
316+
317+ Functions declared with this attribute will use to the standard vector calling
318+ convention variant as defined in the RISC-V psABI, even if the function has
319+ vector arguments or a return value.
320+
308321## Intrinsic Functions
309322
310323Intrinsic functions (or intrinsics or built-ins) are expanded into instruction sequences by compilers.
You can’t perform that action at this time.
0 commit comments