Commit 9de7fc30 authored by Vineet Gupta's avatar Vineet Gupta
Browse files

ARC: entry: SAVE_ABI_CALLEE_REG: ISA/ABI specific helper



And for ARcompact variant replace the PUSH/POP macros with gas provided
push/pop pseudo-instructions

This allows ISA specific implementation

e.g. Current ARCv2 PUSH/POP could be replaced with STD/LDL to save 2
registers at a time (w/o bothering with SP update each time) or
perhaps use ENTER_S/LEAVE_S to reduce code size

For ARCv3 ABI changed so callee regs are now r14-r26 (vs. r13-r25)
thus would need a different implementation.

Signed-off-by: default avatarVineet Gupta <vgupta@kernel.org>
parent 33cc938e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment