https://github.com/dotnet/runtime/blob/main/src/coreclr/jit/codegenlinear.cpp
For LoongArch64's ISA which is same with the MIPS64 ISA, even the instructions of 32bits operation need the upper 32bits be sign-extended to 64 bits.(对于与MIPS64 ISA相同的LoongArch64 ISA,即使是32位操作的指令也需要将高位32位符号扩展为64位。)


我怀疑是不是XLX的混进去写代码了
https://docs.kernel.org/arch/loongarch/introduction.html 已经明确表明“LoongArch is a RISC ISA which is different from any other existing ones(LoongArch是不同于任何现有指令集的RISC ISA)”
For LoongArch64's ISA which is same with the MIPS64 ISA, even the instructions of 32bits operation need the upper 32bits be sign-extended to 64 bits.(对于与MIPS64 ISA相同的LoongArch64 ISA,即使是32位操作的指令也需要将高位32位符号扩展为64位。)


我怀疑是不是XLX的混进去写代码了
https://docs.kernel.org/arch/loongarch/introduction.html 已经明确表明“LoongArch is a RISC ISA which is different from any other existing ones(LoongArch是不同于任何现有指令集的RISC ISA)”