diff options
author | Michael Forney <mforney@mforney.org> | 2021-03-26 14:39:55 +0100 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2021-10-26 01:08:19 +0200 |
commit | fd33b2ef25ff55217e229666c4d2f0877aac2515 (patch) | |
tree | ce26c3a3bacf3146daef894464170e4a48855659 /arm64/all.h | |
parent | 5e0ba156116036ba42d7ce8e361004ea20fb2d6b (diff) | |
download | roux-fd33b2ef25ff55217e229666c4d2f0877aac2515.tar.gz |
arm64: Add LR to list of registers to save
Tested-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz> Fixes: https://todo.sr.ht/~sircmpwn/hare/312
Diffstat (limited to 'arm64/all.h')
-rw-r--r-- | arm64/all.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arm64/all.h b/arm64/all.h index 0b3073a..ff2b3ff 100644 --- a/arm64/all.h +++ b/arm64/all.h @@ -14,7 +14,7 @@ enum Arm64Reg { NFPR = V30 - V0 + 1, NGPR = SP - R0 + 1, - NGPS = R18 - R0 + 1, + NGPS = R18 - R0 + 1 /* LR */ + 1, NFPS = (V7 - V0 + 1) + (V30 - V16 + 1), NCLR = (R28 - R19 + 1) + (V15 - V8 + 1), }; |