The source project of this merge request has been removed.
gallivm: add basic support on mips64
-
ls3a4000 and ls2k1000 cpu is mips64r5 compatible with MSA SIMD instruction set implemented, while ls3a3000 is mips64r2 compatible only. Currently, llvm::sys::getHostCPUName() return "generic" on all loongson mips CPU.
So we override the MCPU to mips64r5 if MSA is implemented, feedback to mips64r2 for all other ordinaries.
-
pass the egl-symbols-check on mips64
-
fix coroutines on mips64 as does on arm and s390. Without this patch llvmpipe (build with llvm 8) crash when running glmark2
Signed-off-by: suijingfeng suijingfeng@loongson.cn