mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
Revoke the gcc only restriction
clang at least 5.0 supports GNU style attributes and intrinsic macros. In general, compilers claiming this functionality should know, what they do.
This commit is contained in:
parent
2d1ec6f4b5
commit
93185218e1
@ -514,11 +514,11 @@ static zend_always_inline double _zend_get_nan(void) /* {{{ */
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__) && defined(HAVE_FUNC_ATTRIBUTE_IFUNC) && defined(HAVE_FUNC_ATTRIBUTE_TARGET)
|
||||
#if defined(HAVE_FUNC_ATTRIBUTE_IFUNC) && defined(HAVE_FUNC_ATTRIBUTE_TARGET)
|
||||
# define ZEND_INTRIN_HAVE_IFUNC_TARGET 1
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__) && defined(__SSE4_2__)
|
||||
#ifdef __SSE4_2__
|
||||
/* Instructions compiled directly. */
|
||||
# define ZEND_INTRIN_SSE4_2_NATIVE 1
|
||||
#elif (defined(__i386__) || defined(__x86_64__)) && defined(HAVE_NMMINTRIN_H) || defined(ZEND_WIN32)
|
||||
|
Loading…
Reference in New Issue
Block a user