Support setting ISA/subsets with --isa flag
[riscv-isa-sim.git] / riscv / insns / div.h
index 3ad613a1113ff3c156720b7028aedea9a937e729..9cbe8d6b321648b144834ef2514948c1b8f19bff 100644 (file)
@@ -1,3 +1,4 @@
+require_extension('M');
 sreg_t lhs = sext_xlen(RS1);
 sreg_t rhs = sext_xlen(RS2);
 if(rhs == 0)