diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-01-27 16:15:30 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-02-08 09:17:31 -0500 |
commit | 07a63c7e7de28ddc6cdc7d8c1e75a69b35dc6332 (patch) | |
tree | 34877a1b6377782637b7e05a610895bd5dbcd0a2 /arch/arm | |
parent | b913c3f0790a4785b2cf0afa49d4c3e4ffddc2cd (diff) | |
download | u-boot-imx-07a63c7e7de28ddc6cdc7d8c1e75a69b35dc6332.zip u-boot-imx-07a63c7e7de28ddc6cdc7d8c1e75a69b35dc6332.tar.gz u-boot-imx-07a63c7e7de28ddc6cdc7d8c1e75a69b35dc6332.tar.bz2 |
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/lib/crt0_64.S | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/lib/crt0_64.S b/arch/arm/lib/crt0_64.S index f8e84b2..19c6a98 100644 --- a/arch/arm/lib/crt0_64.S +++ b/arch/arm/lib/crt0_64.S @@ -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 |