From 52c97c47ab397a37c8fc23c5cb20ad687b2fe11f Mon Sep 17 00:00:00 2001 From: Yang Liu Date: Thu, 27 Jun 2024 14:43:49 +0800 Subject: [RV64_DYNAREC] Detect vector extension (#1619) --- src/core.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core.c') diff --git a/src/core.c b/src/core.c index 3149f0b6..fbd41ba4 100644 --- a/src/core.c +++ b/src/core.c @@ -108,6 +108,7 @@ int rv64_zba = 0; int rv64_zbb = 0; int rv64_zbc = 0; int rv64_zbs = 0; +int rv64_vector = 0; int rv64_xtheadba = 0; int rv64_xtheadbb = 0; int rv64_xtheadbs = 0; @@ -501,6 +502,7 @@ HWCAP2_AFP if(rv64_zbb) printf_log(LOG_INFO, " Zbb"); if(rv64_zbc) printf_log(LOG_INFO, " Zbc"); if(rv64_zbs) printf_log(LOG_INFO, " Zbs"); + if(rv64_vector) printf_log(LOG_INFO, " Vector"); if(rv64_xtheadba) printf_log(LOG_INFO, " XTheadBa"); if(rv64_xtheadbb) printf_log(LOG_INFO, " XTheadBb"); if(rv64_xtheadbs) printf_log(LOG_INFO, " XTheadBs"); -- cgit 1.4.1