Commit: SH: Fix typo in atomic fetch sequence

Oleg Endo oleg.endo@t-online.de
Thu Sep 25 15:24:00 GMT 2014


On Thu, 2014-09-25 at 16:04 +0100, Nick Clifton wrote:
> Hi Alex, Hi Kaz, Hi Oleg,
> 
>   I am applying the patch below as an obvious fix for a typo in the
>   instruction sequence of the atomic_fetch_nand<mode>_soft_imask
>   pattern.  I hope that this is OK with you.

Yes, ouch.  Thanks!
I'll backport it to 4.8 and 4.9.


Cheers,
Oleg


> gcc/ChangeLog
> 2014-09-25  Nick Clifton  <nickc@redhat.com>
> 
> 	PR target/62218
> 	* config/sh/sync.md (atomic_fetch_nand<mode>_soft_imask): Fix typo
> 	in instruction sequence.
> 
> Index: gcc/config/sh/sync.md
> ===================================================================
> --- gcc/config/sh/sync.md	(revision 215540)
> +++ gcc/config/sh/sync.md	(working copy)
> @@ -903,7 +903,7 @@
>  	 "	and	%0,%3"			"\n"
>  	 "	not	%3,%3"			"\n"
>  	 "	mov.<bwl>	%3,@%1"		"\n"
> -	 "	stc	%4,sr";
> +	 "	ldc	%4,sr";
>  }
>    [(set_attr "length" "20")])
>  




More information about the Gcc-patches mailing list