[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-arm
Subject:    Re: [fedora-arm] updated mongodb atomics patch
From:       Andrew Haley <aph () redhat ! com>
Date:       2013-02-19 17:17:04
Message-ID: 5123B390.3050501 () redhat ! com
[Download RAW message or body]

On 02/19/2013 04:57 PM, Jon Masters wrote:
> On 02/19/2013 11:38 AM, Andrew Haley wrote:
>> On 02/19/2013 04:38 PM, Jon Masters wrote:
>>> We've a few dependency issues building this on F19 just now, but it will
>>> build for v7 against 2.2.3 on F18 as well locally. If someone with more
>>> knowledge of mongo would like to take a poke/test, cool. I have done a
>>> literal port of the x86_64 implementation (hence it contains a few
>>> superfluous bits intentionally). It'll need cleaning up.
>>
>> Aieeee!  is there any reason not to use GCC builtins for this?
> 
> None...ish. There's the newer builtins I wrote about but that would
> introduce a minimal compiler dependency (in the Linux case, not sure
> about the Windows case - and the x86 code is not Linux specific, though
> the ARM stuff I did is because there is no other good way to do it
> without the use of the helpers).

I see.  The GCC builtins have been in for quite a long time, but not
quite as long as the 32-bit kernel helper.  However, the 64-bit kernel
helper is pretty new IIRC so I suspect you might as well use the builtins.

Andrew.

_______________________________________________
arm mailing list
arm@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/arm
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic