about summary refs log tree commit diff stats
path: root/src/dynarec/dynarec_native_pass.c
diff options
context:
space:
mode:
authorYang Liu <liuyang22@iscas.ac.cn>2024-12-25 01:58:49 +0800
committerGitHub <noreply@github.com>2024-12-24 18:58:49 +0100
commit1b262dac29a98b6aeef171a1172eb2bf7b7d3f39 (patch)
tree8962b5032df97e19a290659ad5440c999a8c3df7 /src/dynarec/dynarec_native_pass.c
parent3b15ef1cb57180d3d68d56b67126101a46672188 (diff)
downloadbox64-1b262dac29a98b6aeef171a1172eb2bf7b7d3f39.tar.gz
box64-1b262dac29a98b6aeef171a1172eb2bf7b7d3f39.zip
[LA64_DYNAREC] Added nativeflags support (#2202)
Diffstat (limited to 'src/dynarec/dynarec_native_pass.c')
-rw-r--r--src/dynarec/dynarec_native_pass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynarec/dynarec_native_pass.c b/src/dynarec/dynarec_native_pass.c
index d6a7f606..50d5e231 100644
--- a/src/dynarec/dynarec_native_pass.c
+++ b/src/dynarec/dynarec_native_pass.c
@@ -179,7 +179,7 @@ uintptr_t native_pass(dynarec_native_t* dyn, uintptr_t addr, int alternate, int
         #if STEP > 0
         if(dyn->insts[ninst].x64.has_next && dyn->insts[next].x64.barrier) {
             if(dyn->insts[next].x64.barrier&BARRIER_FLOAT) {
-                #ifdef RV64
+                #if defined (RV64) || defined(LA64)
                 uint8_t tmp1, tmp2, tmp3;
                 if(dyn->insts[next].nat_flags_fusion) get_free_scratch(dyn, next, &tmp1, &tmp2, &tmp3, x1, x2, x3, x4, x5);
                 else { tmp1=x1; tmp2=x2; tmp3=x3; }