Changeset 6930aa7f in rtems


Ignore:
Timestamp:
May 28, 2014, 8:29:37 AM (5 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, master
Children:
0d3b5d47
Parents:
348d1812
git-author:
Daniel Hellstrom <daniel@…> (05/28/14 08:29:37)
git-committer:
Daniel Hellstrom <daniel@…> (12/02/14 12:57:15)
Message:

SPARC: optimize window overflow trap entry

By using a optimized trap entry we can move instructions from
the window overflow function into the trap entry vector. By
using the saved locals instead of g1 we don't need to save
that register temporarily. Also spead out non store instructions
inbetween stores to use the write buffer better.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/sparc/reg_win/window.S

    r348d1812 r6930aa7f  
    6161        wr   %l3, %l2, %wim              ! WIM = (WIM >> 1) ^
    6262                                         !       (WIM << (Number Windows - 1))
     63                                         ! 3 instruction delay not needed here
    6364        std  %i0, [%sp + 0x20]           ! save input register set
    6465        std  %i2, [%sp + 0x28]
Note: See TracChangeset for help on using the changeset viewer.