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-12-26 21:40:04 +0800
committerGitHub <noreply@github.com>2024-12-26 14:40:04 +0100
commitcf24eaf9d2bcb739aaec5b4c75d6bb09b4b902ae (patch)
treea9ac91cf3005c7e867ef87ec7cc0a2bdd172e6e8 /src/core.c
parentcd1ac51b7932dbd2eb158e67f7dc6bee71163b96 (diff)
downloadbox64-cf24eaf9d2bcb739aaec5b4c75d6bb09b4b902ae.tar.gz
box64-cf24eaf9d2bcb739aaec5b4c75d6bb09b4b902ae.zip
[LA64_DYNAREC] Added hardware wall-clock support (#2216)
* [LA64_DYNAREC] Added hardware wall-clock support

* Refined multi-language support
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.c b/src/core.c
index aa9def4e..c7e6bd2c 100644
--- a/src/core.c
+++ b/src/core.c
@@ -593,7 +593,7 @@ void computeRDTSC()
 {
     int hardware  = 0;
     box64_rdtsc_shift = 0;
-    #if defined(ARM64) || defined(RV64)
+    #if defined(ARM64) || defined(RV64) || defined(LA64)
     hardware = 1;
     box64_rdtsc = 0;    // allow hardware counter
     #else