This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Commit: SH: Fix typo in atomic fetch sequence
- From: Nick Clifton <nickc at redhat dot com>
- To: aoliva at redhat dot com, kkojima at gcc dot gnu dot org, olegendo at gcc dot gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 25 Sep 2014 16:04:06 +0100
- Subject: Commit: SH: Fix typo in atomic fetch sequence
- Authentication-results: sourceware.org; auth=none
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")])