[patch committed SH] Add atomic patterns

Kaz Kojima kkojima@rr.iij4u.or.jp
Wed Dec 21 23:52:00 GMT 2011


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



More information about the Gcc-patches mailing list