We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df513ed commit 34ca4ecCopy full SHA for 34ca4ec
arch/riscv/Kconfig
@@ -578,6 +578,13 @@ config TOOLCHAIN_HAS_ZBB
578
depends on LLD_VERSION >= 150000 || LD_VERSION >= 23900
579
depends on AS_HAS_OPTION_ARCH
580
581
+# This symbol indicates that the toolchain supports all v1.0 vector crypto
582
+# extensions, including Zvk*, Zvbb, and Zvbc. LLVM added all of these at once.
583
+# binutils added all except Zvkb, then added Zvkb. So we just check for Zvkb.
584
+config TOOLCHAIN_HAS_VECTOR_CRYPTO
585
+ def_bool $(as-instr, .option arch$(comma) +zvkb)
586
+ depends on AS_HAS_OPTION_ARCH
587
+
588
config RISCV_ISA_ZBB
589
bool "Zbb extension support for bit manipulation instructions"
590
depends on TOOLCHAIN_HAS_ZBB
0 commit comments