Now
MAIN commitmail json YAML
src/sys/arch/amiga/amiga/locore.s@1.162
/
diff
/
nxr@1.162
src/sys/arch/atari/atari/locore.s@1.118 / diff / nxr@1.118
src/sys/arch/cesfic/cesfic/locore.s@1.35 / diff / nxr@1.35
src/sys/arch/hp300/hp300/locore.s@1.175 / diff / nxr@1.175
src/sys/arch/luna68k/luna68k/locore.s@1.69 / diff / nxr@1.69
src/sys/arch/m68k/include/pmap_motorola.h@1.39 / diff / nxr@1.39
src/sys/arch/mac68k/mac68k/locore.s@1.176 / diff / nxr@1.176
src/sys/arch/mvme68k/mvme68k/locore.s@1.119 / diff / nxr@1.119
src/sys/arch/news68k/news68k/locore.s@1.72 / diff / nxr@1.72
src/sys/arch/next68k/next68k/locore.s@1.74 / diff / nxr@1.74
src/sys/arch/x68k/x68k/locore.s@1.123 / diff / nxr@1.123
src/sys/arch/atari/atari/locore.s@1.118 / diff / nxr@1.118
src/sys/arch/cesfic/cesfic/locore.s@1.35 / diff / nxr@1.35
src/sys/arch/hp300/hp300/locore.s@1.175 / diff / nxr@1.175
src/sys/arch/luna68k/luna68k/locore.s@1.69 / diff / nxr@1.69
src/sys/arch/m68k/include/pmap_motorola.h@1.39 / diff / nxr@1.39
src/sys/arch/mac68k/mac68k/locore.s@1.176 / diff / nxr@1.176
src/sys/arch/mvme68k/mvme68k/locore.s@1.119 / diff / nxr@1.119
src/sys/arch/news68k/news68k/locore.s@1.72 / diff / nxr@1.72
src/sys/arch/next68k/next68k/locore.s@1.74 / diff / nxr@1.74
src/sys/arch/x68k/x68k/locore.s@1.123 / diff / nxr@1.123
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.
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.