File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -229,16 +229,6 @@ $architecture = zarch if ($data =~ /ARCH_ZARCH/);
229
229
$binformat = bin32;
230
230
$binformat = bin64 if ($data =~ / BINARY_64/ );
231
231
232
-
233
- if ($compiler eq " GCC" &&( ($architecture eq " x86" ) || ($architecture eq " x86_64" ))) {
234
- $no_avx2 = 0;
235
- $oldgcc = 0;
236
- $data = ` $compiler_name -dumpversion` ;
237
- if ($data <= 4.6) {
238
- $no_avx2 = 1;
239
- $oldgcc = 1;
240
- }
241
- }
242
232
$no_avx512 = 0;
243
233
if (($architecture eq " x86" ) || ($architecture eq " x86_64" )) {
244
234
eval " use File::Temp qw(tempfile)" ;
@@ -286,6 +276,15 @@ if ($data =~ /HAVE_C11/) {
286
276
}
287
277
}
288
278
279
+ if ($compiler eq " GCC" &&( ($architecture eq " x86" ) || ($architecture eq " x86_64" ))) {
280
+ $no_avx2 = 0;
281
+ $oldgcc = 0;
282
+ $data = ` $compiler_name -dumpversion` ;
283
+ if ($data <= 4.6) {
284
+ $no_avx2 = 1;
285
+ $oldgcc = 1;
286
+ }
287
+ }
289
288
290
289
$data = ` $compiler_name $flags -S ctest1.c && grep globl ctest1.s | head -n 1 && rm -f ctest1.s` ;
291
290
You can’t perform that action at this time.
0 commit comments