Browse Source

Update avx512_check

pull/3571/head
Martin Kroeker GitHub 4 years ago
parent
commit
41fcfd2984
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      avx512_check

+ 1
- 1
avx512_check View File

@@ -125,7 +125,7 @@ if (($architecture eq "x86") || ($architecture eq "x86_64")) {
if ($@){
$no_avx512 = 0;
} else {
($fh,$tmpf) = tempfile( SUFFIX => '.c' , UNLINK => 0 );
($fh,$tmpf) = tempfile( SUFFIX => '.c' , UNLINK => 1 );
$code = '"vbroadcastss -4 * 4(%rsi), %zmm2"';
print $fh "#include <immintrin.h>\n\nint main(void){ __asm__ volatile($code); }\n";
$args = " -march=skylake-avx512 -v -c -o $tmpf.o $tmpf";


Loading…
Cancel
Save