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 5ddf61bae305e779c7d437045131dc05c818e6fe..607dc95da76199053274be75cc5331d6f30ef54d 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 e6a16fc6b1543f9d90c104119a7c89729aeb65a4..7dcf6971e6e86fe5b1c3681c3551eb6d9fe432ef 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")])