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  <ni...@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")])
 

Reply via email to