about summary refs log tree commit diff stats
path: root/src/core.c
diff options
context:
space:
mode:
authorYang Liu <liuyang22@iscas.ac.cn>2024-08-26 01:52:50 +0800
committerGitHub <noreply@github.com>2024-08-25 19:52:50 +0200
commit4988fb27dc115e89146a017d0dff2a33abbc25e1 (patch)
tree6b6995104979e923a19ed56a71d55e9bf92683fc /src/core.c
parentdb1f0825ce26c1c49f61c01072598c52bbe9d6bc (diff)
downloadbox64-4988fb27dc115e89146a017d0dff2a33abbc25e1.tar.gz
box64-4988fb27dc115e89146a017d0dff2a33abbc25e1.zip
[RV64_DYNAREC] Fixed more issues in the vector infrastructure (#1755)
* [RV64_DYNAREC] Fixed SEW transformation for vector

* more tweaks

* more fixes

* More fixes

* more fixes

* re-enable vector extension by default
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/core.c b/src/core.c
index 5e345568..03859f12 100644
--- a/src/core.c
+++ b/src/core.c
@@ -512,13 +512,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) {
-        char* p = getenv("BOX64_DYNAREC_RV64VEXT");
-        if (p != NULL && p[0] == '1')
-            printf_log(LOG_INFO, " Vector (vlen: %d)", rv64_vlen);
-        else
-            rv64_vector = 0;
-    }
+    if (rv64_vector) printf_log(LOG_INFO, " Vector (vlen: %d)", rv64_vlen);
     if(rv64_xtheadba) printf_log(LOG_INFO, " XTheadBa");
     if(rv64_xtheadbb) printf_log(LOG_INFO, " XTheadBb");
     if(rv64_xtheadbs) printf_log(LOG_INFO, " XTheadBs");