re PR target/62218 (gcc produces invalid SH instruction (stc r2,sr) when building...
authorNick Clifton <nickc@redhat.com>
Thu, 25 Sep 2014 15:01:46 +0000 (15:01 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Thu, 25 Sep 2014 15:01:46 +0000 (15:01 +0000)
PR target/62218
* config/sh/sync.md (atomic_fetch_nand<mode>_soft_imask): Fix typo
in instruction sequence.

From-SVN: r215602

gcc/ChangeLog
gcc/config/sh/sync.md

index 0b5fb31eca96d12ecc6203e7bc5785e87718c71e..5ddf61bae305e779c7d437045131dc05c818e6fe 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2014-09-25  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
 
        PR target/63335
index a0a22a1f5b7cd3710a29a92fb9deca787048366e..e6a16fc6b1543f9d90c104119a7c89729aeb65a4 100644 (file)
         "      and     %0,%3"                  "\n"
         "      not     %3,%3"                  "\n"
         "      mov.<bwl>       %3,@%1"         "\n"
-        "      stc     %4,sr";
+        "      ldc     %4,sr";
 }
   [(set_attr "length" "20")])