Skip to content
Snippets Groups Projects
Commit 07a63c7e authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Tom Rini
Browse files

arm64: use store with auto-increment


Save one instruction.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent b913c3f0
No related branches found
No related tags found
No related merge requests found
...@@ -118,8 +118,7 @@ relocation_return: ...@@ -118,8 +118,7 @@ relocation_return:
ldr x0, =__bss_start /* this is auto-relocated! */ ldr x0, =__bss_start /* this is auto-relocated! */
ldr x1, =__bss_end /* this is auto-relocated! */ ldr x1, =__bss_end /* this is auto-relocated! */
clear_loop: clear_loop:
str xzr, [x0] str xzr, [x0], #8
add x0, x0, #8
cmp x0, x1 cmp x0, x1
b.lo clear_loop b.lo clear_loop
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment