From 3c56772000b57463345d98b2b8b31acbdf4b1ed3 Mon Sep 17 00:00:00 2001 From: Stas Boukarev Date: Tue, 9 Feb 2016 23:02:18 +0300 Subject: [PATCH] Micro-optimize listify-rest-args on ARM64. Use a post-index LDR instead of LDR+ADD. --- src/compiler/arm64/call.lisp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/compiler/arm64/call.lisp b/src/compiler/arm64/call.lisp index 1688c4dee..1417766f8 100644 --- a/src/compiler/arm64/call.lisp +++ b/src/compiler/arm64/call.lisp @@ -494,8 +494,7 @@ ;; Grab one value. ENTER - (loadw temp context) - (inst add context context n-word-bytes) + (inst ldr temp (@ context n-word-bytes :post-index)) ;; Dec count, and if != zero, go back for more. (inst subs count count (fixnumize 1)) -- 2.11.4.GIT