Skip to content

Commit

Permalink
fix ARM backend
Browse files Browse the repository at this point in the history
  • Loading branch information
MESYETI committed Aug 18, 2024
1 parent 5a6b060 commit 2960be9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion source/backends/arm64.d
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,9 @@ class BackendARM64 : CompilerBackend {
}

// copy data to parameters
output ~= format("sub x9, x19, #%d\n", paramSize);
output ~= format("sub x19, x19, #%d\n", paramSize);
//output ~= format("sub x9, x19, #%d\n", paramSize);
output ~= "mov x9, x19\n";
output ~= "mov x10, x20\n";
output ~= format("mov x11, #%d\n", paramSize);
output ~= "1:\n";
Expand Down
2 changes: 1 addition & 1 deletion std
Submodule std updated 1 files
+0 −13 cores/os/x86_64_linux.cal

0 comments on commit 2960be9

Please sign in to comment.