zephyr/arch/arc/include
Chuck Jordan 5f14d8fb01 arc: improved saving of lp_<count,start,end> using GPRs
Since firq utilizes a 2nd register bank, and since all of those
many GPRs can be used, the strategy here is to save extra registers,
such as lp_count, lp_start, lp_end into callee saved registers.
These registers are safe to use because the C-ABI followed by the
compiler will cause these to be spilled to the stack if a C function
wants to use them. By selecting upper GPRs, r23-r25, it is very unlikely
the compiler will spill them. This improvement, therefore, can avoid a
d-cache miss since we are avoding memory altogether when saving these.
The struct firq_regs is no longer needed.

Change-Id: I7c0d061908a90376da7a0101b62e804647a20443
Signed-off-by: Chuck Jordan <cjordan@synopsys.com>
2016-05-29 22:23:13 +00:00
..
v2 arc: initialize the i-cache ONLY if it is present 2016-05-11 11:10:52 +00:00
kernel_event_logger_arch.h debug: interrupt event logger support for arc 2016-04-22 12:39:22 +00:00
nano_private.h arc: improved saving of lp_<count,start,end> using GPRs 2016-05-29 22:23:13 +00:00
start_task_arch.h arc: adding "all rights reserved" to banner 2016-05-20 20:55:21 -07:00
vector_table.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00