]> gcc.gnu.org Git - gcc.git/commit
libffi: fix handling of homogeneous float128 structs (#689)
authorDan Horák <dan@danny.cz>
Wed, 3 May 2023 19:29:09 +0000 (14:29 -0500)
committerPeter Bergner <bergner@linux.ibm.com>
Sat, 6 May 2023 15:30:49 +0000 (11:30 -0400)
commit043550bceea7881163bba5d8a0486bb100a05809
tree0cc0c4971c5ea28d0e83fd483bee2b1eed17f7b5
parent96d699196285858df5d1484b4443cf849908662f
libffi: fix handling of homogeneous float128 structs (#689)

If there is a homogeneous struct with float128 members, they should be
copied to vector register save area. The current code incorrectly copies
only the value of the first member, not increasing the pointer with each
iteration. Fix this.

Merged from upstream libffi commit: 464b4b66e3cf3b5489e730c1466ee1bf825560e0

2023-05-03  Dan Horák <dan@danny.cz>

libffi/
PR libffi/109447
* src/powerpc/ffi_linux64.c (ffi_prep_args64): Update arg.f128 pointer.
libffi/src/powerpc/ffi_linux64.c
This page took 0.055484 seconds and 5 git commands to generate.