Skip to content

Commit 61090d5

Browse files
camel-cdrkito-cheng
authored andcommitted
Encourage versioned compatibility check
Signed-off-by: Camel Coder <[email protected]>
1 parent d5cd094 commit 61090d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/rvv-intrinsic-spec.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ To leverage the intrinsics in the toolchain, the header `<riscv_vector.h>` needs
2222

2323
[,c]
2424
----
25-
#ifdef __riscv_v_intrinsic
25+
#if __riscv_v_intrinsic >= 1000000
2626
#include <riscv_vector.h>
2727
#endif /* __riscv_v_intrinsic */
2828
----

0 commit comments

Comments
 (0)