You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Function attribute for standard vector calling convention variant: riscv_vector_cc
Standard vector calling convention variant will only enabled when function has
vector argument or returing value by default, however user may also want to
invoke function without that during a vectorized loop at some
situation, but it will cause a huge performance penalty due to vector
register store/restore.
So user can declare function with this riscv_vector_cc attribute like below,
that could enforce function will use standard vector calling convention
variant.
```c
void foo() __attribute__((riscv_vector_cc));
```
0 commit comments