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@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/arm