summaryrefslogtreecommitdiff
path: root/src/sparc
Commit message (Collapse)AuthorAgeFilesLines
* Pass large structs by valueAnthony Green2022-09-051-0/+16
|
* Prefix ALIGN macros with FFI_Gregory Pakosz2017-04-272-12/+12
|
* sparc: Re-introduce hand-written unwind infoRichard Henderson2015-01-282-40/+159
| | | | Fixes the build with the Solaris assembler.
* sparc: Also mark the return address in unwind infoRichard Henderson2015-01-162-0/+6
|
* sparc: Solaris fixes, part 2Richard Henderson2015-01-161-9/+27
| | | | | /bin/as seems to only understand single-digit labels /bin/as knows nothing about .rept/.endr
* sparc: Solaris fixesRainer Orth2015-01-162-79/+81
| | | | | | * /bin/as requires .type fn,#function instead of @function. * /bin/as doesn't support .macro/.endm. I'm using preprocessor macros instead to implement E in src/sparc/v[89].S.
* sparc: Define FFI_TARGET_SPECIFIC_VARIADIC for v9Richard Henderson2014-11-182-9/+30
| | | | | | | | | | | This is a port of http://gcc.gnu.org/viewcvs?rev=207763&root=gcc&view=rev aka GCC PR libffi/60073, to the rewritten Sparc codebase. Supposedly, we should have seen failures with the existing libffi.call/cls_double_va.c testcase, but I hadn't. Perhaps a gcc newer than 4.6.3 is required to see that...
* sparc: Re-add abi compliant structure supportRichard Henderson2014-11-125-16/+38
| | | | | | | | | | | | | The original code, removed in the "rewrite" patch, was incorrect for large structures, and required dynamic allocation of a trampoline on every ffi_call. Instead, allocate a 4k entry table of all possible structure returns. The table is 80k, but is read-only and dynamically paged, which ought to be better than allocating the trampoline. This is difficult to test with gcc. One can only use -O0 at present. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63668.
* sparc: Add support for Go closuresRichard Henderson2014-11-125-29/+133
|
* sparc: Add support for complex typesRichard Henderson2014-11-126-63/+216
|
* sparc: Handle more cases of structure return directlyRichard Henderson2014-11-125-105/+152
|
* sparc: Preprocess float point struct returnRichard Henderson2014-11-123-33/+106
| | | | | We can eliminate recursion and speed structure return by flattening a nested structure tree into a bitmask.
* sparc: Rewrite everythingRichard Henderson2014-11-126-804/+1034
| | | | | | | | | It's impossible to call between v8 and v9 ABIs, because of the stack bias in the v9 ABI. So let's not pretend it's just not implemented yet. Split the v9 code out to a separate file. The register windows prevent ffi_call from setting up the entire stack frame the assembly, but we needn't make an indirect call back to prep_args.
* sparc: Tidy up symbolsRichard Henderson2014-11-123-255/+133
| | | | | | Assembly to use local labels, .type annotation, hidden annotation. I do retain the _prefix for the symbols, but given that it wasn't done consistently across all symbols, I doubt it's actually needed.
* sparc: Eliminate long double ifdefsRichard Henderson2014-11-121-30/+16
|
* sparc v8 and testsuite fixesAnthony Green2013-02-091-0/+4
|
* Fix small struct passing on ppcAnthony Green2013-02-081-0/+1
|
* sparc v9 fixes for sun toolsAnthony Green2013-02-082-3/+6
|
* Fix botched sparc patch. Update version.Anthony Green2013-02-071-2/+2
|
* Add cache flushing routine for sun compiler on sparc solaris 2.8Anthony Green2013-02-072-4/+41
|
* Rebase on fixed GCC sourcesAnthony Green2012-03-291-1/+1
|
* Ensure that users don't include ffitarget.h directlyAnthony Green2012-02-231-1/+6
|
* Many new patchesAnthony Green2011-08-221-6/+9
|
* sparc ABI test fix.Anthony Green2011-02-111-3/+6
|
* Fix sparc v8 aggregate type returns for sun's compilerAnthony Green2011-02-081-2/+40
|
* RebaseAnthony Green2010-11-215-1475/+0
|
* define generic symbols carefullyAnthony Green2010-08-051-0/+2
|
* FFI_LAST_ABI fixAnthony Green2010-07-231-3/+3
|
* rebaseAnthony Green2010-07-121-1/+1
|
* Rebase to latest GCC sourcesAnthony Green2010-04-131-7/+7
|
* Rebase from GCCAnthony Green2010-01-121-1/+1
|
* Reset quilt patches post 3.0.9 merge with GCCAnthony Green2010-01-011-1/+1
|
* 3.0.9rc12Anthony Green2009-12-291-1/+1
|
* Rebase from GCCAnthony Green2009-12-261-1/+1
|
* Release 3.0.9rc5Anthony Green2009-12-241-1/+1
|
* Update missing changes for 3.0.9r4.Anthony Green2009-12-243-15/+25
|
* Initial commitAnthony Green2009-10-049-0/+2776