This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, AArch64 00/11] LSE atomics out-of-line
- From: Florian Weimer <fweimer at redhat dot com>
- To: rth7680 at gmail dot com
- Cc: gcc-patches at gcc dot gnu dot org, ramana dot radhakrishnan at arm dot com, agraf at suse dot de, matz at suse dot de, Richard Henderson <richard dot henderson at linaro dot org>
- Date: Wed, 26 Sep 2018 11:01:50 +0200
- Subject: Re: [PATCH, AArch64 00/11] LSE atomics out-of-line
- References: <20180926050355.32746-1-richard.henderson@linaro.org>
* rth:
> Therefore, I've created small out-of-line helpers that are directly
> linked into every library or executable that requires them. There
> will be two direct branches, both of which will be well-predicted.
This seems reasonable to me, considering the trade-offs.
If the indirect function call overhead is deemed too large, the only
other feasible option I see from a distribution point of view is to drop
support for the previous architecture version without LSE.
Thanks,
Florian