Skip to content

Commit 9f5df7f

Browse files
committed
Disallow any vector, not just V, when no __int128 type is present
1 parent 9ee100f commit 9f5df7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

riscv/processor.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ processor_t::processor_t(const isa_parser_t *isa, const cfg_t *cfg,
4444
TM.proc = this;
4545

4646
#ifndef HAVE_INT128
47-
if (isa->extension_enabled('V')) {
47+
if (isa->has_any_vector()) {
4848
fprintf(stderr, "V extension is not supported on platforms without __int128 type\n");
4949
abort();
5050
}

0 commit comments

Comments
 (0)