<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_external_libffi/src/sparc/internal.h, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_libffi/'/>
<entry>
<title>sparc: Re-add abi compliant structure support</title>
<updated>2014-11-12T08:36:11+00:00</updated>
<author>
<name>Richard Henderson</name>
<email>rth@twiddle.net</email>
</author>
<published>2014-10-26T22:29:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_libffi/commit/?id=6eec410f1512d0584276db5f4b83711330e830d7'/>
<id>6eec410f1512d0584276db5f4b83711330e830d7</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>sparc: Add support for complex types</title>
<updated>2014-11-12T08:36:09+00:00</updated>
<author>
<name>Richard Henderson</name>
<email>rth@twiddle.net</email>
</author>
<published>2014-10-26T20:16:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_libffi/commit/?id=ad89c2d9e93d5a713ae4113567b4ca6c4fbbf17c'/>
<id>ad89c2d9e93d5a713ae4113567b4ca6c4fbbf17c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sparc: Handle more cases of structure return directly</title>
<updated>2014-11-12T08:35:24+00:00</updated>
<author>
<name>Richard Henderson</name>
<email>rth@twiddle.net</email>
</author>
<published>2014-10-25T23:24:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_libffi/commit/?id=20da5b41324de524ea3ee1f84f402828b7c332dc'/>
<id>20da5b41324de524ea3ee1f84f402828b7c332dc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sparc: Preprocess float point struct return</title>
<updated>2014-11-12T08:35:24+00:00</updated>
<author>
<name>Richard Henderson</name>
<email>rth@twiddle.net</email>
</author>
<published>2014-10-25T21:52:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_libffi/commit/?id=0686c2e71c8e094cf003f199e3f578bcdede43ba'/>
<id>0686c2e71c8e094cf003f199e3f578bcdede43ba</id>
<content type='text'>
We can eliminate recursion and speed structure return
by flattening a nested structure tree into a bitmask.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We can eliminate recursion and speed structure return
by flattening a nested structure tree into a bitmask.
</pre>
</div>
</content>
</entry>
<entry>
<title>sparc: Rewrite everything</title>
<updated>2014-11-12T08:35:21+00:00</updated>
<author>
<name>Richard Henderson</name>
<email>rth@twiddle.net</email>
</author>
<published>2014-10-24T23:10:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_libffi/commit/?id=2b27890ba77db6a23d37fc70897109e4b2803c2d'/>
<id>2b27890ba77db6a23d37fc70897109e4b2803c2d</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
</feed>
