Fix indexing in MOVE-FRAME-UP code: objects, not bytes, here.
authorTaylor R Campbell <campbell@mumble.net>
Mon, 21 Jan 2019 22:39:29 +0000 (22:39 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Wed, 21 Aug 2019 21:34:05 +0000 (21:34 +0000)
And with this, the cold load completes on aarch64!

src/compiler/machines/aarch64/rules3.scm

index 29feed26c61c80649db0c1b018dae2c14f8eeb16..5517b0934b78eb3f9bf2ad2c754c7da8711177ec 100644 (file)
@@ -322,7 +322,7 @@ USA.
                (LAP))
          ,@(load-unsigned-immediate index loop-count)
         (LABEL ,label)
-         (SUB X ,index ,index (&U #x10))
+         (SUB X ,index ,index (&U 2))
          (LDP X ,temp1 ,temp2 (PRE+ ,regnum:stack-pointer (& (* 8 -2))))
          (STP X ,temp1 ,temp2 (PRE+ ,address (& (* 8 -2))))
          (CBNZ X ,index (@PCR ,label ,regnum:scratch-0))