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
This commit is contained in:
Oleg Endo 2014-09-25 15:50:38 +00:00
parent e51cf2f559
commit ad19968eae
2 changed files with 7 additions and 1 deletions

View 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

View File

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