zephyr/arch/arc
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
..
core arc: improved saving of lp_<count,start,end> using GPRs 2016-05-29 22:23:13 +00:00
include arc: improved saving of lp_<count,start,end> using GPRs 2016-05-29 22:23:13 +00:00
soc build: Introduce concept of SoC specific build flags 2016-05-27 10:04:29 -05:00
Kbuild new SoC naming convention 2016-04-18 21:24:59 +00:00
Kconfig Cleanup whitespace in Kconfig files 2016-05-25 13:28:07 -05:00
Makefile build: Introduce concept of SoC specific build flags 2016-05-27 10:04:29 -05:00
defconfig