Skip to content

Commit

Permalink
[RV64_DYNAREC] Fixed a regression in #2187
Browse files Browse the repository at this point in the history
  • Loading branch information
ksco committed Dec 24, 2024
1 parent 3b15ef1 commit 5555236
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/dynarec/rv64/dynarec_rv64_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -1888,7 +1888,10 @@ uintptr_t dynarec64_AVX_F3_0F(dynarec_rv64_t* dyn, uintptr_t addr, uintptr_t ip,
} else { \
TH_SRRI(dst, dst, 64 - 8 - dst##2); \
} \
if (dyn->insts[ninst].nat_flags_fusion) NAT_FLAGS_OPS(dst, xZR); \
if (dyn->insts[ninst].nat_flags_fusion) { \
ANDI(s1, dst, 0xff); \
NAT_FLAGS_OPS(s1, xZR); \
} \
break; \
}

Expand All @@ -1908,7 +1911,10 @@ uintptr_t dynarec64_AVX_F3_0F(dynarec_rv64_t* dyn, uintptr_t addr, uintptr_t ip,
} else { \
TH_SRRI(dst, dst, 64 - 16); \
} \
if (dyn->insts[ninst].nat_flags_fusion) NAT_FLAGS_OPS(s1, xZR); \
if (dyn->insts[ninst].nat_flags_fusion) { \
ZEXTH(s1, dst); \
NAT_FLAGS_OPS(s1, xZR); \
} \
break; \
}

Expand Down

0 comments on commit 5555236

Please sign in to comment.