This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/8] Go closures for Sparc


This patch set splits apart the v8 and v9 abis.  It will never be
possible to swap between them at runtime, so give up pretending.

It then streamlines handling of v9 structures, which is then used
by the addition of support for complex.


r~


Richard Henderson (8):
  sparc: Eliminate long double ifdefs
  sparc: Tidy up symbols
  sparc: Rewrite everything
  sparc: Preprocess float point struct return
  sparc: Handle more cases of structure return directly
  sparc: Add support for complex types
  sparc: Add support for Go closures
  sparc: Re-add abi compliant structure support

 Makefile.am                         |   4 +-
 src/prep_cif.c                      |  11 -
 src/sparc/ffi.c                     | 861 ++++++++++++++----------------------
 src/sparc/ffi64.c                   | 592 +++++++++++++++++++++++++
 src/sparc/ffitarget.h               |  15 +-
 src/sparc/internal.h                |  26 ++
 src/sparc/v8.S                      | 551 ++++++++++++-----------
 src/sparc/v9.S                      | 504 ++++++++++++---------
 testsuite/libffi.call/call.exp      |  12 +-
 testsuite/libffi.call/complex_int.c |   4 +-
 10 files changed, 1530 insertions(+), 1050 deletions(-)
 create mode 100644 src/sparc/ffi64.c
 create mode 100644 src/sparc/internal.h

-- 
1.9.3


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]