Skip to content

Commit 10cf63e

Browse files
authored
Merge pull request #5784 from martin-frbg/issue5783
Fix printing of Loongarch LSX/LASX status to the config file
2 parents 2347cdd + 0a3e061 commit 10cf63e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cpuid_loongarch64.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,8 +395,8 @@ void get_cpuconfig(void) {
395395
}
396396
}
397397

398-
if(os_support_lsx) printf("#define HAVE_LSX\n");
399-
if(os_support_lasx) printf("#define HAVE_LASX\n");
398+
if(os_support_lsx()) printf("#define HAVE_LSX\n");
399+
if(os_support_lasx()) printf("#define HAVE_LASX\n");
400400

401401
get_cpucount(&num_cores);
402402
if (num_cores)

0 commit comments

Comments
 (0)