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
This commit is contained in:
Michael Forney 2021-03-26 14:39:55 +01:00 committed by Quentin Carbonneaux
parent 5e0ba15611
commit fd33b2ef25
2 changed files with 2 additions and 2 deletions

View file

@ -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),
};