From patchwork Fri Jan 27 07:15:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 92558 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp108071qgi; Thu, 26 Jan 2017 23:16:39 -0800 (PST) X-Received: by 10.28.126.12 with SMTP id z12mr1978873wmc.84.1485501399101; Thu, 26 Jan 2017 23:16:39 -0800 (PST) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id n27si4868999wra.214.2017.01.26.23.16.38; Thu, 26 Jan 2017 23:16:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 88B1EA75DC; Fri, 27 Jan 2017 08:16:37 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NRpky-D0AINm; Fri, 27 Jan 2017 08:16:37 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D5D304A997; Fri, 27 Jan 2017 08:16:35 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 17E45A75C2 for ; Fri, 27 Jan 2017 08:16:14 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SzxQFAPcuqZ2 for ; Fri, 27 Jan 2017 08:16:13 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from conuserg-07.nifty.com (conuserg-07.nifty.com [210.131.2.74]) by theia.denx.de (Postfix) with ESMTPS id 3B7EB4A997 for ; Fri, 27 Jan 2017 08:16:09 +0100 (CET) Received: from pug.jp.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id v0R7FbTB029419; Fri, 27 Jan 2017 16:15:38 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com v0R7FbTB029419 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1485501339; bh=3ph+fXlz12YRorE2ovyY9JpdfQArm+FpvLz+8coqHTI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Z81gGaFQUUlP5022zS5G8NoRxA+tkvhDuZT6ppNHeVoXWlXMB/nxUGAh2fNRoGdpZ RT7XHMYwknQ4USAM+XD8xwpqShgWXeEjMy1qRZD8XKvTLoH6qP6ddtxvJneknV3ut7 hIdzefnaQI5H1VHhLozmlUIknEk4KWg/Wui19Y0LoZXf+u76yP2iq6hNHheTPCNg2O EpO9ncDl0QeE/opHcVeH/qAaHl+GyHVnfP6w2pC4DzuTcK07hfLIIIiQ/YGL8pZ/Z8 0IKTbGJ6M1SxoJ1MoTH5SBspqiJ4fNsrXo0vnrd5ne8crFZBUpJ75tO4GKFO6K+dhN fUqRmCJMYN23g== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Fri, 27 Jan 2017 16:15:30 +0900 Message-Id: <1485501330-9718-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1485501330-9718-1-git-send-email-yamada.masahiro@socionext.com> References: <1485501330-9718-1-git-send-email-yamada.masahiro@socionext.com> Cc: Albert Aribaud , Jeremy Hunt Subject: [U-Boot] [PATCH 2/2] arm64: use store with auto-increment X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Save one instruction. Signed-off-by: Masahiro Yamada --- arch/arm/lib/crt0_64.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.7.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot Reviewed-by: Simon Glass 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