ptitSeb / box64

Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
https://box86.org
MIT License
3.9k stars 287 forks source link

[LA64_DYNAREC] Removed F_OF2 trick as it's unnecessary #1300

Closed ksco closed 8 months ago

ksco commented 8 months ago

Unlike RISC-V, the imm part in ANDI/ORI/XORI on LoongArch is zero-extended instead of sign-extended, thus the F_OF2 trick is unnecessary.

cc @factfinding