public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Joseph Myers <joseph@codesourcery.com>
To: Mao Han <han_mao@c-sky.com>
Cc: <libc-alpha@sourceware.org>, <c-sky_gcc_upstream@c-sky.com>,
	<gnu-csky@mentor.com>
Subject: Re: [RFC PATCH v3 05/12] C-SKY: Atomic and Locking Routines
Date: Fri, 29 Jun 2018 16:36:00 -0000	[thread overview]
Message-ID: <alpine.DEB.2.20.1806291633080.24607@digraph.polyomino.org.uk> (raw)
In-Reply-To: <52862eb735de64be1bd5a61b21ef9585e665558d.1530246556.git.han_mao@c-sky.com>

On Fri, 29 Jun 2018, Mao Han wrote:

> +#define USE_ATOMIC_COMPILER_BUILTINS 0

Does this mean the compiler expands the atomic built-in function calls to 
out-of-line calls to libgcc or libatomic, but you wish to use inline 
expansions in glibc?  (That's the main case when 
USE_ATOMIC_COMPILER_BUILTINS 0 is appropriate.  If there are suitable 
atomic instructions, typically the compiler would expand the calls inline 
and USE_ATOMIC_COMPILER_BUILTINS 1 is most appropriate rather than using 
inline asm for atomics.)

-- 
Joseph S. Myers
joseph@codesourcery.com

  reply	other threads:[~2018-06-29 16:36 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-29  7:59 [RFC PATCH v3 00/12] port C-SKY to glibc Mao Han
2018-06-29  7:59 ` [RFC PATCH v3 04/12] C-SKY: Hard Float Support Mao Han
2018-06-29  7:59 ` [RFC PATCH v3 02/12] C-SKY: TLS support Mao Han
2018-06-29  7:59 ` [RFC PATCH v3 05/12] C-SKY: Atomic and Locking Routines Mao Han
2018-06-29 16:36   ` Joseph Myers [this message]
2018-07-03  7:57     ` Mao Han
2018-07-17 20:03       ` Joseph Myers
2018-06-29  7:59 ` [RFC PATCH v3 01/12] C-SKY: ABI related code Mao Han
2018-06-29 16:40   ` Joseph Myers
2018-07-03  8:04     ` Mao Han
2018-06-29  8:00 ` [RFC PATCH v3 11/12] C-SKY: Add build-many-glibcs.py support Mao Han
2018-06-29 16:44   ` Joseph Myers
2018-06-29  8:01 ` [RFC PATCH v3 09/12] C-SKY: Linux Startup and Dynamic Loading Code Mao Han
2018-06-29  8:01 ` [RFC PATCH v3 10/12] C-SKY: Build Infastructure Mao Han
2018-06-29 16:46   ` Joseph Myers
2018-06-29  8:01 ` [RFC PATCH v3 12/12] C-SKY: Skeleton documentation Mao Han
2018-06-29  8:12 ` [RFC PATCH v3 08/12] C-SKY: ABI Lists Mao Han
2018-06-29  8:12 ` [RFC PATCH v3 06/12] C-SKY: Linux Syscall Interface Mao Han
2018-06-29  8:12 ` [RFC PATCH v3 03/12] C-SKY: Generic math Routines Mao Han
2018-06-29  8:12 ` [RFC PATCH v3 07/12] C-SKY: Linux ABI Mao Han
2018-06-29 16:54   ` Joseph Myers
2018-07-03  8:01     ` Mao Han

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=alpine.DEB.2.20.1806291633080.24607@digraph.polyomino.org.uk \
    --to=joseph@codesourcery.com \
    --cc=c-sky_gcc_upstream@c-sky.com \
    --cc=gnu-csky@mentor.com \
    --cc=han_mao@c-sky.com \
    --cc=libc-alpha@sourceware.org \
    /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).