]> granicus.if.org Git - php/commit
Implement #78270: Support __vectorcall convention with FFI
authorChristoph M. Becker <cmbecker69@gmx.de>
Mon, 14 Oct 2019 12:56:37 +0000 (14:56 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Tue, 29 Oct 2019 07:57:43 +0000 (08:57 +0100)
commitbedbecf56d94353a2bcebc835d14896fd95ce6d7
treea8c0961cd957e50761191b1caae366d56cc5d5a8
parent53b1d76144b27e9788a342d68c98a5aad72c5b14
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).
NEWS
ext/ffi/config.w32
ext/ffi/ffi.c
ext/ffi/ffi.g
ext/ffi/ffi_parser.c
ext/ffi/php_ffi.h
ext/ffi/tests/bug78270_1.phpt [new file with mode: 0644]
ext/ffi/tests/bug78270_2.phpt [new file with mode: 0644]