diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2019-10-14 14:56:37 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-10-29 08:57:43 +0100 |
commit | bedbecf56d94353a2bcebc835d14896fd95ce6d7 (patch) | |
tree | a8c0961cd957e50761191b1caae366d56cc5d5a8 /ext/ffi/php_ffi.h | |
parent | 53b1d76144b27e9788a342d68c98a5aad72c5b14 (diff) | |
download | php-git-bedbecf56d94353a2bcebc835d14896fd95ce6d7.tar.gz |
Implement #78270: Support __vectorcall convention with FFI
To work around the limitation of the current rudimentary vectorcall
support in our patched libffi, we forbid yet unsupported declarations,
i.e. float/double parameters at certain positions (SIMD vector types
and HVA types are not supported anyway).
Diffstat (limited to 'ext/ffi/php_ffi.h')
-rw-r--r-- | ext/ffi/php_ffi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/ffi/php_ffi.h b/ext/ffi/php_ffi.h index b9f01d6e96..913d63ecd0 100644 --- a/ext/ffi/php_ffi.h +++ b/ext/ffi/php_ffi.h @@ -132,6 +132,7 @@ ZEND_EXTERN_MODULE_GLOBALS(ffi) #define ZEND_FFI_ABI_REGISTER 6 // FFI_REGISTER #define ZEND_FFI_ABI_MS 7 // FFI_MS_CDECL #define ZEND_FFI_ABI_SYSV 8 // FFI_SYSV +#define ZEND_FFI_ABI_VECTORCALL 9 // FFI_VECTORCALL #define ZEND_FFI_ATTR_CONST (1<<0) #define ZEND_FFI_ATTR_INCOMPLETE_TAG (1<<1) |