|
2104b2a4
|
2015-01-26T12:43:57
|
|
sparc: Re-introduce hand-written unwind info
Fixes the build with the Solaris assembler.
|
|
1ad0b171
|
2015-01-16T13:30:05
|
|
sparc: Also mark the return address in unwind info
|
|
b740ab7c
|
2015-01-16T11:32:23
|
|
sparc: Solaris fixes
* /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.
|
|
6eec410f
|
2014-10-26T15:29:04
|
|
sparc: Re-add abi compliant structure support
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.
|
|
92022496
|
2014-10-26T14:48:28
|
|
sparc: Add support for Go closures
|
|
ad89c2d9
|
2014-10-26T13:16:03
|
|
sparc: Add support for complex types
|
|
20da5b41
|
2014-10-25T16:24:41
|
|
sparc: Handle more cases of structure return directly
|
|
0686c2e7
|
2014-10-25T14:52:45
|
|
sparc: Preprocess float point struct return
We can eliminate recursion and speed structure return
by flattening a nested structure tree into a bitmask.
|
|
2b27890b
|
2014-10-24T16:10:48
|
|
sparc: Rewrite everything
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.
|
|
5d7b5445
|
2014-10-24T11:45:53
|
|
sparc: Tidy up symbols
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.
|
|
7c5e60b5
|
2012-03-29T08:48:22
|
|
Rebase on fixed GCC sources
|
|
c6dddbd0
|
2009-10-04T08:11:33
|
|
Initial commit
|