diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2014-05-26 15:22:12 +0200 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2014-05-28 17:33:22 +0200 |
commit | d6f1ec91b6fd074e3a2b15f7ca8b2a8c73a39484 (patch) | |
tree | 811725cdfc49acf88fa10febf6c60965225c242b /cpukit/libmisc/shell/shell.h | |
parent | LEON3: coding style clean bsp_irq_fixup() (diff) | |
download | rtems-d6f1ec91b6fd074e3a2b15f7ca8b2a8c73a39484.tar.bz2 |
SPARC: syscall optimizations and PSR-write fix
The last optimization missed was incorrect in regards to
PSR write instruction delay must be 3 instructions.
New optimizations:
* align to 32-byte cache line.
* rearrange code into three "blocks" of 4 instructions that
is executed by syscall 2 and 3. This is to optimize for
16/32 byte cache lines.
* use delay-slot instruction in trap table to reduce by one
instruction.
* use the fact that "wr %PSR" implements XOR to reduce by
one instruction.
Diffstat (limited to 'cpukit/libmisc/shell/shell.h')
0 files changed, 0 insertions, 0 deletions