diff mbox

[AVR] : Fix PR52507

Message ID 4F560E31.2080802@gjlay.de
State New
Headers show

Commit Message

Georg-Johann Lay March 6, 2012, 1:16 p.m. UTC
This fixes a wrong loop label in the movmemhi worker for the __memx address
space case.

Ok for trunk?

Johann

	PR target/52507
	* config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.

Comments

Denis Chertykov March 6, 2012, 4:11 p.m. UTC | #1
2012/3/6 Georg-Johann Lay <avr@gjlay.de>:
> This fixes a wrong loop label in the movmemhi worker for the __memx address
> space case.
>
> Ok for trunk?
>
> Johann
>
>        PR target/52507
>        * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.

Approved.

Denis.
diff mbox

Patch

Index: libgcc/config/avr/lib1funcs.S
===================================================================
--- libgcc/config/avr/lib1funcs.S	(revision 184887)
+++ libgcc/config/avr/lib1funcs.S	(working copy)
@@ -2252,7 +2252,7 @@  DEFUN __movmemx_hi
     ;; and store that Byte to RAM Destination
     st      X+, r0
     sbiw    LOOP, 1
-    brne    0b
+    brne    1b
     ret
 ENDF __movmemx_hi