Maybe you should try this:
https://github.com/lat-opensource/lat
LATX (Loongson Architecture Translator for x86) is a high-performance user-level binary translator designed specifically for the LoongArch architecture, enabling efficient execution of x86 applications on Loongson-based systems.
Built upon QEMU 6 with substantial optimizations, LATX significantly outperforms the original QEMU implementation.
The project leverages LoongArch's advanced instruction set extensions (such as vector extensions and binary translation instructions) to achieve high-efficiency translation of x86 instructions. Key optimizations include AOT (Ahead-of-Time) compilation and runtime library pass-through, with the latter partially inspired by and referencing source code from the box64 project.