[LLVMbugs] [Bug 4961] ARM GCC __sync_synchronize does not generate code

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 22 09:27:08 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=4961

Jim Grosbach <grosbach at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |grosbach at apple.com
         Resolution|                            |FIXED

--- Comment #2 from Jim Grosbach <grosbach at apple.com> 2010-04-22 11:27:08 CDT ---
__sync_synchronize() currently generates a 'dmb' instruction for ARMv7 and 'mov
   r0, #0 ; mcr p15, 0, r0, c7, c10, 5' for ARMv6.

In the future, we may want to adjust the details depending on environmental
specifics (single vs. multi core, differing OS requirements, etc). It's
probably worth opening separate PR's for the details of those as they become
clear.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list