re PR target/62218 (gcc produces invalid SH instruction (stc r2,sr) when building...
authorOleg Endo <olegendo@gcc.gnu.org>
Thu, 25 Sep 2014 15:50:38 +0000 (15:50 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Thu, 25 Sep 2014 15:50:38 +0000 (15:50 +0000)
gcc/
PR target/62218
* config/sh/sync.md (atomic_test_and_set_soft_imask): Fix typo
in instruction sequence.

From-SVN: r215607

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

index 5ddf61b..607dc95 100644 (file)
@@ -1,3 +1,9 @@
+2014-09-25  Oleg Endo  <olegendo@gcc.gnu.org>
+
+       PR target/62218
+       * config/sh/sync.md (atomic_test_and_set_soft_imask): Fix typo
+       in instruction sequence.
+
 2014-09-25  Nick Clifton  <nickc@redhat.com>
 
        PR target/62218
index e6a16fc..7dcf697 100644 (file)
         "      ldc     r0,sr"          "\n"
         "      mov.b   @%0,r0"         "\n"
         "      mov.b   %1,@%0"         "\n"
-        "      stc     %2,sr"          "\n"
+        "      ldc     %2,sr"          "\n"
         "      tst     r0,r0";
 }
   [(set_attr "length" "16")])