[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/2] Detect and use GCC atomic builtins for lock
From: |
malc |
Subject: |
Re: [Qemu-devel] [PATCH 1/2] Detect and use GCC atomic builtins for locking |
Date: |
Sat, 20 Feb 2010 20:57:05 +0300 (MSK) |
User-agent: |
Alpine 2.00 (LNX 1167 2008-08-23) |
On Sat, 20 Feb 2010, Lo?c Minier wrote:
> On Sat, Feb 20, 2010, malc wrote:
> > For instance this:
> > http://sources.redhat.com/ml/libc-alpha/2005-06/msg00112.html
> >
> > The builtins are too coarse grained and will do more stuff than strictly
> > necessary.
>
> Is this the case of the builtins I'm proposing to use? We could ask
> for new ones without the drawbacks if any.
>
> Do you have another option to implement locking on thumb-2?
No, i'm against using locking GCC builtins for all the other targets (well
PPC), if they provide satisfactory results for thumb-2 please do submit an
updated patch which uses them only for this host.
--
mailto:address@hidden
Re: [Qemu-devel] [PATCH 1/2] Detect and use GCC atomic builtins for locking, Paul Brook, 2010/02/27