Skip to content

gallivm: add basic support on mips64

Sui Jingfeng requested to merge (removed):main into main
  1. 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.

  2. pass the egl-symbols-check on mips64

  3. 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

Merge request reports