Skip to content
Commit 37344653 authored by Martin Åberg's avatar Martin Åberg Committed by Ioannis Glaropoulos
Browse files

SPARC: optimized interrupt trap stores and loads



The input registers (i0..i7) are not modified by the interrupt trap
handler and are preserved by function calls. So we do not need to
store them in the interrupt stack frame.

This saves 48 bytes of stack space for each interrupted context,
and eliminates 4 double word stores and 4 double word loads.

Signed-off-by: default avatarMartin Åberg <martin.aberg@gaisler.com>
parent 3f3dbea4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment