From 0a3e061977cc99ee60dd213729d5eb216e892911 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Mon, 27 Apr 2026 08:56:38 +0200 Subject: [PATCH] Update cpuid_loongarch64.c fix conditional printing of LSX/LASX status to the configuration files --- cpuid_loongarch64.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpuid_loongarch64.c b/cpuid_loongarch64.c index c6ce2bb731..71647fe922 100644 --- a/cpuid_loongarch64.c +++ b/cpuid_loongarch64.c @@ -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)