From 9f5df7f4dbef18c8c22d5e9a8bfca48fc50cfdc6 Mon Sep 17 00:00:00 2001 From: Jerry Zhao Date: Thu, 20 Jun 2024 14:24:51 -0700 Subject: Disallow any vector, not just V, when no __int128 type is present --- riscv/processor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/riscv/processor.cc b/riscv/processor.cc index a813068..43f5627 100644 --- a/riscv/processor.cc +++ b/riscv/processor.cc @@ -44,7 +44,7 @@ processor_t::processor_t(const isa_parser_t *isa, const cfg_t *cfg, TM.proc = this; #ifndef HAVE_INT128 - if (isa->extension_enabled('V')) { + if (isa->has_any_vector()) { fprintf(stderr, "V extension is not supported on platforms without __int128 type\n"); abort(); } -- cgit v1.1