Commit ad19968e by Oleg Endo

re PR target/62218 (gcc produces invalid SH instruction (stc r2,sr) when building libgcc)

gcc/
	PR target/62218
	* config/sh/sync.md (atomic_test_and_set_soft_imask): Fix typo
	in instruction sequence.

From-SVN: r215607
parent e51cf2f5
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
......@@ -1353,7 +1353,7 @@
" 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")])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment