zephyr/arch
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
..
arc arc: improved saving of lp_<count,start,end> using GPRs 2016-05-29 22:23:13 +00:00
arm nrf52: Auto generate Intel Hex kernel image 2016-05-29 03:27:27 -07:00
nios2 build: Introduce concept of SoC specific build flags 2016-05-27 10:04:29 -05:00
x86 build: Introduce concept of SoC specific build flags 2016-05-27 10:04:29 -05:00
Kconfig Cleanup whitespace in Kconfig files 2016-05-25 13:28:07 -05:00
Makefile arch/Makefile: simplify 2016-04-27 21:40:19 +00:00