public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Henderson <rth@redhat.com>
To: Richard Earnshaw <rearnsha@arm.com>
Cc: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>,
	       Ramana Radhakrishnan <Ramana.Radhakrishnan@arm.com>
Subject: Re: [cxx-mem-model 2/2] arm: Install __sync libfuncs for Linux.
Date: Thu, 24 Nov 2011 20:33:00 -0000	[thread overview]
Message-ID: <4ECE7A38.7070000@redhat.com> (raw)
In-Reply-To: <4ECE1723.10609@arm.com>

On 11/24/2011 02:06 AM, Richard Earnshaw wrote:
>>> >> +  /* For Linux, we have access to kernel support for atomic operations.  */
>>> >> +  if (arm_abi == ARM_ABI_AAPCS_LINUX)
>>> >> +    init_sync_libfuncs (8);
>>> >> +
>>> >>    /* There are no special library functions unless we are using the
>>> >>       ARM BPABI.  */
>>> >>    if (!TARGET_BPABI)
>> > 
>> > 
> 
> What's the '8' for?  If it's the size of an object, then shouldn't this
> really be something like GET_MODE_SIZE (DImode)?

Yes it's an object size.


r~

      reply	other threads:[~2011-11-24 17:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-03 23:27 [cxx-mem-model 0/2] Support the legacy __sync libcalls Richard Henderson
2011-11-03 23:31 ` [cxx-mem-model 1/2] Allow libcalls to be installed for legacy __sync optabs Richard Henderson
2011-11-03 23:37 ` [cxx-mem-model 2/2] arm: Install __sync libfuncs for Linux Richard Henderson
2011-11-24  1:10   ` Richard Henderson
2011-11-24 10:43     ` Richard Earnshaw
2011-11-24 20:33       ` Richard Henderson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ECE7A38.7070000@redhat.com \
    --to=rth@redhat.com \
    --cc=Ramana.Radhakrishnan@arm.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=rearnsha@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).