File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ static zend_always_inline int zend_cpu_supports_avx512_vbmi(void) {
272272#endif
273273
274274/* __builtin_cpu_supports has pclmul from gcc9 and clang 19 */
275- #if defined(PHP_HAVE_BUILTIN_CPU_SUPPORTS ) && defined(__x86_64__ ) && \
275+ #if defined(PHP_HAVE_BUILTIN_CPU_SUPPORTS ) && ( defined(__x86_64__ ) || defined( __i386__ ) ) && \
276276 ( \
277277 (!defined(__GNUC__ ) || (defined(__clang__ ) && __clang_major__ >= 19 ) || (ZEND_GCC_VERSION >= 9000 )) \
278278 )
@@ -290,7 +290,7 @@ static inline int zend_cpu_supports_pclmul(void) {
290290#endif
291291
292292/* __builtin_cpu_supports has cldemote from gcc11 and clang 19 */
293- #if defined(PHP_HAVE_BUILTIN_CPU_SUPPORTS ) && defined(__x86_64__ ) && \
293+ #if defined(PHP_HAVE_BUILTIN_CPU_SUPPORTS ) && ( defined(__x86_64__ ) || defined( __i386__ ) ) && \
294294 ( \
295295 (defined(__clang__ ) && (__clang_major__ >= 19 )) || \
296296 (!defined(__clang__ ) && defined(__GNUC__ ) && (ZEND_GCC_VERSION >= 11000 )) \
You can’t perform that action at this time.
0 commit comments