Browse Source

Make HAVE_MSA describe cpu capability, NO_MSA software/env

tags/v0.3.22^2
Martin Kroeker GitHub 3 years ago
parent
commit
2a203eedd3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      cpuid_mips64.c

+ 3
- 1
cpuid_mips64.c View File

@@ -208,7 +208,9 @@ void get_cpuconfig(void){
printf("#define DTB_SIZE 4096\n");
printf("#define L2_ASSOCIATIVE 8\n");
}
if (!get_feature("msa")) printf("#define NO_MSA\n");
#ifndef NO_MSA
if (get_feature("msa")) printf("#define HAVE_MSA\n");
#endif
}

void get_libname(void){


Loading…
Cancel
Save