How much NEON state should be saved in a context switch? (xilinx zynq)

Sebastian Huber sebastian.huber at embedded-brains.de
Sat Jan 17 10:25:40 UTC 2015


Hello Stephen,

the rule of thumb is to save/restore the volatile registers in the 
context switch and to save/restore the non-volatile registers in the 
exception epilogue/prologue. See also _ARMV4_Exception_interrupt.

As an optimization it would be possible to add some sort of lazy context 
save/restore during exception processing.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the users mailing list