[PATCH 0/2] Add atomic support to m68k

Richard Henderson rth@redhat.com
Fri Nov 18 21:21:00 GMT 2011


The first patch adds support for the m68k-linux syscall.  The second
patch adds native support for the m680[2346]0 CAS instruction, and
the m68000/Coldfire TAS instruction.

Both tested only via cross-compile.  

Please test...


r~


Richard Henderson (2):
  m68k-linux: Implement atomic operations via syscall.
  m68k: Implement CAS and TAS patterns.

 gcc/config/m68k/linux.h           |    4 +
 gcc/config/m68k/m68k.c            |    8 ++
 gcc/config/m68k/m68k.md           |    9 ++
 gcc/config/m68k/sync.md           |   80 ++++++++++++++
 libgcc/config.host                |    6 +-
 libgcc/config/m68k/linux-atomic.c |  211 +++++++++++++++++++++++++++++++++++++
 libgcc/config/m68k/t-linux        |    1 +
 7 files changed, 316 insertions(+), 3 deletions(-)
 create mode 100644 gcc/config/m68k/sync.md
 create mode 100644 libgcc/config/m68k/linux-atomic.c
 create mode 100644 libgcc/config/m68k/t-linux

-- 
1.7.4.4



More information about the Gcc-patches mailing list