Skip to content

Commit

Permalink
AArch64: Mark x18 as reserved by default
Browse files Browse the repository at this point in the history
  • Loading branch information
hanno-becker committed Jan 30, 2024
1 parent 0993e67 commit 76f1090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slothy/targets/aarch64/aarch64_neon.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def from_string(string):
@staticmethod
def default_reserved():
"""Return the list of registers that should be reserved by default"""
return set(["flags", "sp",
return set(["flags", "sp", "x18",
"STACK_MASK1",
"STACK_MASK2",
"STACK_A_0",
Expand Down

0 comments on commit 76f1090

Please sign in to comment.