We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ba8388c + f5243e8 commit 24e3440Copy full SHA for 24e3440
c_check
@@ -205,8 +205,8 @@ $no_avx512= 0;
205
if (($architecture eq "x86") || ($architecture eq "x86_64")) {
206
$code = '"vbroadcastss -4 * 4(%rsi), %zmm2"';
207
print $tmpf "int main(void){ __asm__ volatile($code); }\n";
208
- $args = " -o $tmpf.o -x c $tmpf";
209
- my @cmd = ("$compiler_name $args");
+ $args = " -march=skylake-avx512 -o $tmpf.o -x c $tmpf";
+ my @cmd = ("$compiler_name $args >/dev/null 2>/dev/null");
210
system(@cmd) == 0;
211
if ($? != 0) {
212
$no_avx512 = 1;
0 commit comments