pulp-platform / pulp-riscv-gnu-toolchain

Other
73 stars 51 forks source link

HW Loop registers should be saved/restored in subroutines and interrupts if used in the routines #15

Open dspg-arch1 opened 4 years ago

dspg-arch1 commented 4 years ago

Like other register resources used in subroutines and interrupts, the registers of a HW loop that the compiler decides to use should be also decided to be saved and restored in entry and exit from the routines.