Skip to contentSkip to conversation

RISC-V: Ignore Zicfiss and Zicfilp for now

PATCH New Ben Dooks 1 participant 1 message Mar 11

Subsystems (2)
lore
Share & tools
lore

Ben Dooks

author
#0 lore raw

PATCH 1/1 RISC-V: Ignore Zicfiss and Zicfilp for now

These two are part of the CFI[1] and do not seem to need any sort of special handling as yet. Just add these to list of known extensions to stop annoying warnings from current Linux kernel builds.

[1] (https://docs.riscv.org/reference/isa/priv/priv-cfi.html

---
 target-riscv.c | 2 ++
 1 file changed, 2 insertions(+)
target-riscv.c +2 -0
index cd6104b2..5b13202c 100644
@@ -48,6 +48,8 @@ static void parse_march_riscv(const char *arg)
 		{ "_zacas",	RISCV_ATOMIC_CAS },
 		{ "_zabha",	RISCV_ATOMIC_BH },
 		{ "_zicsr",	RISCV_ZICSR },
+		{ "_zicfilp",	0 },
+		{ "_zicfiss'",	0 },
 		{ "_zifencei",	RISCV_ZIFENCEI },
 		{ "_zicbom",	RISCV_ZICBOM },
 		{ "_zihintpause",	RISCV_ZIHINTPAUSE },
Signature · 1 line
2.37.2.352.g3c44437643