mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
arm64: use store with auto-increment
Save one instruction. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
b913c3f079
commit
07a63c7e7d
1 changed files with 1 additions and 2 deletions
|
@ -118,8 +118,7 @@ relocation_return:
|
|||
ldr x0, =__bss_start /* this is auto-relocated! */
|
||||
ldr x1, =__bss_end /* this is auto-relocated! */
|
||||
clear_loop:
|
||||
str xzr, [x0]
|
||||
add x0, x0, #8
|
||||
str xzr, [x0], #8
|
||||
cmp x0, x1
|
||||
b.lo clear_loop
|
||||
|
||||
|
|
Loading…
Reference in a new issue