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.
1 parent 28aa94b commit 591cca7Copy full SHA for 591cca7
c_check
@@ -205,7 +205,7 @@ $binformat = bin64 if ($data =~ /BINARY_64/);
205
$no_avx512= 0;
206
if (($architecture eq "x86") || ($architecture eq "x86_64")) {
207
$code = '"vbroadcastss -4 * 4(%rsi), %zmm2"';
208
- print $tmpf "int main(void){ __asm__ volatile($code); }\n";
+ print $tmpf "#include <immintrin.h>\n\nint main(void){ __asm__ volatile($code); }\n";
209
$args = " -march=skylake-avx512 -o $tmpf.o -x c $tmpf";
210
my @cmd = ("$compiler_name $args >/dev/null 2>/dev/null");
211
system(@cmd) == 0;
0 commit comments