This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: [PATCH 3/8] sparc: Rewrite everything
- From: David Miller <davem at davemloft dot net>
- To: rth at twiddle dot net
- Cc: libffi-discuss at sourceware dot org
- Date: Thu, 30 Oct 2014 00:52:37 -0400 (EDT)
- Subject: Re: [PATCH 3/8] sparc: Rewrite everything
- Authentication-results: sourceware.org; auth=none
- References: <545147A9 dot 9090401 at twiddle dot net> <20141029 dot 161058 dot 1101864756322678040 dot davem at davemloft dot net> <545151B5 dot 6040103 at twiddle dot net>
From: Richard Henderson <rth@twiddle.net>
Date: Wed, 29 Oct 2014 13:44:37 -0700
> The one other microarchitecture question I had was wrt call/ret paring.
>
> I was assuming that, for predition purposes, "ret" vs "jmp" must be based on
> the register used -- %i7 or %o7. Thus my call ... jmp %o7+const hopefully
> keeps any call/return prediction stack in sync?
Yes, that should ensure a return address stack prediction hit.