This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch committed SH] Add atomic patterns
Oleg Endo <oleg.endo@t-online.de> wrote:
> 2011-12-21 Oleg Endo <oleg.endo@t-online.de>
>
> * config/sh/sync.md: Add soft atomics ABI description.
> (fetchop_name): Use 'or' instead of 'ior'.
> (fetchop_insn): Remove.
> (atomic_compare_and_swap<mode>_soft):
> Don't insert aligning nop after the write-back instruction. Fix
> multi-line asm output formatting style.
> (atomic_fetch_<fetchop_name><mode>_soft): Likewise.
> (atomic_fetch_nand<mode>_soft): Likewise.
> (atomic_<fetchop_name>_fetch<mode>_soft): Likewise.
> (atomic_nand_fetch<mode>_soft): Likewise.
OK. Thanks for the nice comment for software atomics.
Regards,
kaz