Browse Source

Remove gcc unrecognized option '-msched-weight' when check msa

tags/v0.3.13^2
gxw 5 years ago
parent
commit
d67babf345
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      c_check

+ 1
- 1
c_check View File

@@ -199,7 +199,7 @@ if (($architecture eq "mips") || ($architecture eq "mips64")) {
} else {
$tmpf = new File::Temp( SUFFIX => '.c' , UNLINK => 1 );
$code = '"addvi.b $w0, $w1, 1"';
$msa_flags = "-mmsa -mfp64 -msched-weight -mload-store-pairs";
$msa_flags = "-mmsa -mfp64 -mload-store-pairs";
print $tmpf "#include <msa.h>\n\n";
print $tmpf "void main(void){ __asm__ volatile($code); }\n";



Loading…
Cancel
Save