Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch



Module Name:    src
Committed By:   thorpej
Date:           Mon Dec 25 21:32:58 UTC 2023

Modified Files:
        src/sys/arch/amiga/amiga: locore.s
        src/sys/arch/atari/atari: locore.s
        src/sys/arch/cesfic/cesfic: locore.s
        src/sys/arch/hp300/hp300: locore.s
        src/sys/arch/luna68k/luna68k: locore.s
        src/sys/arch/m68k/include: pmap_motorola.h
        src/sys/arch/mac68k/mac68k: locore.s
        src/sys/arch/mvme68k/mvme68k: locore.s
        src/sys/arch/news68k/news68k: locore.s
        src/sys/arch/next68k/next68k: locore.s
        src/sys/arch/x68k/x68k: locore.s

Log Message:
loadustp(): Optimize for the overwhelmingly common case of "not the HP MMU".
Rather than converting the level 1 table address to a page number before
calling loadustp() only to have loadustp() convert it back to an address
for the '851, '030, '040, and '060, instead pass the address and convert
to a page number only in the case of the HP MMU.

This is a wash on HP MMU machines (9000/320 and 9000/350), and saves at
least 4 instructions (2x moveq + 2x lsXl) on every context switch on
everything else.


To generate a diff of this commit:
cvs rdiff -u -r1.161 -r1.162 src/sys/arch/amiga/amiga/locore.s
cvs rdiff -u -r1.117 -r1.118 src/sys/arch/atari/atari/locore.s
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/cesfic/cesfic/locore.s
cvs rdiff -u -r1.174 -r1.175 src/sys/arch/hp300/hp300/locore.s
cvs rdiff -u -r1.68 -r1.69 src/sys/arch/luna68k/luna68k/locore.s
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/m68k/include/pmap_motorola.h
cvs rdiff -u -r1.175 -r1.176 src/sys/arch/mac68k/mac68k/locore.s
cvs rdiff -u -r1.118 -r1.119 src/sys/arch/mvme68k/mvme68k/locore.s
cvs rdiff -u -r1.71 -r1.72 src/sys/arch/news68k/news68k/locore.s
cvs rdiff -u -r1.73 -r1.74 src/sys/arch/next68k/next68k/locore.s
cvs rdiff -u -r1.122 -r1.123 src/sys/arch/x68k/x68k/locore.s

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index