This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Commit: SH: Fix typo in atomic fetch sequence


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.

Cheers
  Nick

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")])
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]