riscv-non-isa/rvv-intrinsic-doc

Question about rvv intrinsic version

Closed this issue · 4 comments

Hello, everyone,
I saw gcc 13 release support rvv 0.11 release, and I want to know how to find the version of rvv intrinsic version in my gcc(gcc version 12.0.1 rvv-next branch). And I wonder which is more stable and recommended between the my version and rvv 0.11 release.
Thanks

I would suggest to use master/trunk GCC which supports V1.0 intrinsics.
Besides, rvv-next branch is going to retire/remove since we no longer maintain rvv-next.

eopXD commented

You may use the test macro to checkout the supported version of the compiler. On the other hand, I agree with @zhongjuzhe that it is at best for you to start the developments on top of latest intrinsics since the old ones will be deprecated.

You may use the test macro to checkout the supported version of the compiler. On the other hand, I agree with @zhongjuzhe that it is at best for you to start the developments on top of latest intrinsics since the old ones will be deprecated.

I found the version_macro.adoc file in the old documents, which exists = Version Macro, and I tried to use it, in the form of int v = Version Macro , but failed. Am I using it in a wrong way?

eopXD commented

The macro __riscv_v_intrinsic defines the version supported.