LoongArch64: Add CPU feature detection when init JIT compiler

Co-developed-by: Qiqi Huang <huangqiqi@loongson.cn>
This commit is contained in:
Xiaolin Zhao 2022-07-27 18:02:20 +08:00
parent ab7da4d156
commit 73360555d1

View File

@ -719,6 +719,10 @@ static uint32_t jit_cpudetect(void)
}
#endif
#elif LJ_TARGET_LOONGARCH64
/* No optional CPU features to detect (for now). */
#else
#error "Missing CPU detection for this architecture"
#endif