Update cpuid_loongarch64.c

fix conditional printing of LSX/LASX status to the configuration files
This commit is contained in:
Martin Kroeker
2026-04-27 08:56:38 +02:00
committed by GitHub
parent 2347cdd77f
commit 0a3e061977

View File

@@ -395,8 +395,8 @@ void get_cpuconfig(void) {
}
}
if(os_support_lsx) printf("#define HAVE_LSX\n");
if(os_support_lasx) printf("#define HAVE_LASX\n");
if(os_support_lsx()) printf("#define HAVE_LSX\n");
if(os_support_lasx()) printf("#define HAVE_LASX\n");
get_cpucount(&num_cores);
if (num_cores)