Remove gcc unrecognized option '-msched-weight' when check msa
This commit is contained in:
parent
7f11e33e8d
commit
d67babf345
2
c_check
2
c_check
|
@ -199,7 +199,7 @@ if (($architecture eq "mips") || ($architecture eq "mips64")) {
|
||||||
} else {
|
} else {
|
||||||
$tmpf = new File::Temp( SUFFIX => '.c' , UNLINK => 1 );
|
$tmpf = new File::Temp( SUFFIX => '.c' , UNLINK => 1 );
|
||||||
$code = '"addvi.b $w0, $w1, 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 "#include <msa.h>\n\n";
|
||||||
print $tmpf "void main(void){ __asm__ volatile($code); }\n";
|
print $tmpf "void main(void){ __asm__ volatile($code); }\n";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue