-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patched php configure script for ubuntu-16 old gcc version 5
The check in php/build/php.m4 is not sufficient to guard for gcc 5 on ubuntu 16 Ticket: ENT-12140 Changelog: none
- Loading branch information
1 parent
8d714f7
commit 9fc707b
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- configure.old | ||
+++ configure | ||
@@ -18114,6 +18114,10 @@ printf %s "checking for avx512 supports in compiler... " >&6; } | ||
#include <immintrin.h> | ||
int main(void) { | ||
__m512i mask = _mm512_set1_epi32(0x1); | ||
+ __builtin_cpu_supports("avx512dq"); | ||
+ __builtin_cpu_supports("avx512cd"); | ||
+ __builtin_cpu_supports("avx512bw"); | ||
+ __builtin_cpu_supports("avx512vl"); | ||
char out[32]; | ||
_mm512_storeu_si512(out, _mm512_shuffle_epi8(mask, mask)); | ||
return 0; | ||
@@ -18152,6 +18156,7 @@ printf %s "checking for avx512 vbmi supports in compiler... " >&6; } | ||
|
||
#include <immintrin.h> | ||
int main(void) { | ||
+ __builtin_cpu_supports("avx512vbmi"); | ||
__m512i mask = _mm512_set1_epi32(0x1); | ||
char out[32]; | ||
_mm512_storeu_si512(out, _mm512_permutexvar_epi8(mask, mask)); |