Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Changes between Version 1 and Version 2 of Developer/AtomicSupport


Ignore:
Timestamp:
04/05/13 11:53:56 (11 years ago)
Author:
WeiY
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Developer/AtomicSupport

    v1 v2  
    44
    55
    6 The following table summarizes the atomic support among the CPU architectures supported by the git development head.  The target CPU and branch number are used in constructing the target name for the GNU tools and RTEMS with the pattern CPU-rtemsBRANCH with the CVS head becoming the 4.9 branch.  For example, for the Coldfire CPUs, the '''Target CPU''' is m68k yielding a target name of m68k-rtems4.10 for the target name using RTEMS 4.10 series releases.
     6The following table summarizes the atomic support among the CPU architectures supported by the git development head.  The RTEMS-SMP means whether the SMP mode is supported by the latest SMP. The atomic-hardware means whether the architecture has atomic hardware instruction support.
    77
    88{| border="1" style="margin: 1em auto 1em auto;text-align: center;"
     
    1111|'''Architecture''' || '''Target CPU''' || '''RTEMS SMP''' || '''atomic-hardware''' || '''atomic-instruction''' || '''memory-ordering'''
    1212|-
    13 | X86 || i386 || yes || yes || cmpxchg || stronger
     13| X86 || i386 || Yes || Yes || cmpxchg || Stronger
    1414|-
    15 | PowerPC || powerpc || no || yes || lwarx/stwcx || weaker
     15| PowerPC || powerpc || No || Yes || lwarx/stwcx || Weaker
    1616|-
    17 | Texas Instruments C3x/C4x || tic4x || Yes || No || No || No || Yes || No
     17| SPARC (V7-V8) || sparc || No || Yes || ldstub/swap || Stronger (TSO-mode)
     18|-
     19| SPARC V9 || sparc || No || Yes || ldstub/swap/cas || Stronger (TSO-mode)
     20|-
     21| MIPS || mips || No || Yes || ll/sc || Weaker
     22|-
     23| ARM || arm || No || Yes (V6 above) || ldstub/swap (V6 above) || Weaker
     24|-
     25| M68K || m68k || No || Yes || cad/cas32/tas ||
     26|-
     27| Blackfin || bfin || No || no || no ||
     28|-
     29| SH || sh || No || Yes ||  ||
    1830|-
    1931|}
     32
     33References:
     341. http://dsc.sun.com/solaris/articles/atomic_sparc/
     352. http://semipublic.comp-arch.net/wiki/Load-linked/store-conditional_%28LL/SC%29
     363. http://en.wikipedia.org/wiki/Memory_ordering
     374. http://www.sigma.me/2011/12/14/mips-llsc-instruction.html