diff options
| author | Yang Liu <liuyang22@iscas.ac.cn> | 2024-12-13 21:57:28 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-13 14:57:28 +0100 |
| commit | 4b4c0143d951b6aa18e2102136b4b72e165459d4 (patch) | |
| tree | 3ef11dd20153979a4bc8ec95b26ada7771096fe3 /src/core.c | |
| parent | fa76ce1f057f46a6133dfab67b78cdf16fd1f7f0 (diff) | |
| download | box64-4b4c0143d951b6aa18e2102136b4b72e165459d4.tar.gz box64-4b4c0143d951b6aa18e2102136b4b72e165459d4.zip | |
[RV64_DYNAREC] Optimize push/pop with xtheadmemidx (#2150)
* [RV64_DYNAREC] Optimize push/pop with xtheadmemidx * fix
Diffstat (limited to 'src/core.c')
| -rw-r--r-- | src/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core.c b/src/core.c index 3a1e180b..df3f3907 100644 --- a/src/core.c +++ b/src/core.c @@ -551,7 +551,7 @@ HWCAP2_AFP if (!strcasecmp(p, "xtheadba")) rv64_xtheadba = 0; if (!strcasecmp(p, "xtheadbb")) rv64_xtheadbb = 0; if (!strcasecmp(p, "xtheadbs")) rv64_xtheadbs = 0; - // if (!strcasecmp(p, "xtheadmemidx")) rv64_xtheadmemidx = 0; + if (!strcasecmp(p, "xtheadmemidx")) rv64_xtheadmemidx = 0; // if (!strcasecmp(p, "xtheadfmemidx")) rv64_xtheadfmemidx = 0; // if (!strcasecmp(p, "xtheadmac")) rv64_xtheadmac = 0; // if (!strcasecmp(p, "xtheadfmv")) rv64_xtheadfmv = 0; @@ -575,8 +575,8 @@ HWCAP2_AFP if(rv64_xtheadbs) printf_log(LOG_INFO, " XTheadBs"); if (rv64_xtheadmempair) printf_log(LOG_INFO, " XTheadMemPair"); if (rv64_xtheadcondmov) printf_log(LOG_INFO, " XTheadCondMov"); + if (rv64_xtheadmemidx) printf_log(LOG_INFO, " XTheadMemIdx"); // Disable the display since these are only detected but never used. - // if(rv64_xtheadmemidx) printf_log(LOG_INFO, " XTheadMemIdx"); // if(rv64_xtheadfmemidx) printf_log(LOG_INFO, " XTheadFMemIdx"); // if(rv64_xtheadmac) printf_log(LOG_INFO, " XTheadMac"); // if(rv64_xtheadfmv) printf_log(LOG_INFO, " XTheadFmv"); |