summaryrefslogtreecommitdiff
path: root/examples/module/basicapp
diff options
context:
space:
mode:
authorGrissiom <[email protected]>2013-05-26 22:37:49 +0800
committerGrissiom <[email protected]>2013-05-26 22:37:49 +0800
commit19fe6251e7085c39c69945aedde4c00b6167043b (patch)
tree4a53382e79408eb20abb5bcca57c48fb7373a735 /examples/module/basicapp
parent435f305fa2d7e189c5251ae050f811eda562be14 (diff)
rm48x50: optimize context_switch_interrupt_to by reuse registers
When saving thread registers in context_switch_interrupt_to, we don't change them, just move them. So there is no need to always r0-r3 from stack to the real r0-r3. So just use the intermediate registers and eliminate 2 MOV.
Diffstat (limited to 'examples/module/basicapp')
0 files changed, 0 insertions, 0 deletions