diff --git a/riscv/processor.cc b/riscv/processor.cc index e5ae60b4fd..a75b0ff6f1 100644 --- a/riscv/processor.cc +++ b/riscv/processor.cc @@ -43,7 +43,7 @@ processor_t::processor_t(const isa_parser_t *isa, const cfg_t *cfg, TM.proc = this; #ifndef HAVE_INT128 - if (extension_enabled('V')) { + if (isa->extension_enabled('V')) { fprintf(stderr, "V extension is not supported on platforms without __int128 type\n"); abort(); }