freebsd-dev/sys/powerpc/aim
Justin Hibbits a6ca7519f8 powerpc64: Optimize radix trap handling a little more
Summary:
Since PCPU can live in a GPR for a while longer, let it, rather than
re-getting it in yet another register.  MFSPR is an expensive operation,
12 clock latency on POWER9, so the fewer operations we need, the better.

Since the check is tightly coupled to the fetch, by reducing the number
of fetch+check, we reduce the stalls, and improve the performance
marginally.  Buildworld was measured at a ~5-7% improvement on a single
run.

Reviewed By: nwhitehorn
Differential Revision: https://reviews.freebsd.org/D30003
2021-04-30 19:58:11 -05:00
..
aim_machdep.c powerpc/aim: Update timebase directly on resume instead of through platform 2021-03-31 13:34:06 -05:00
locore32.S powerpc64: Add a trap stack area 2019-02-04 16:02:03 +00:00
locore64.S powerpc64: Fix boot on virtual-mode OF (PowerMac G5) 2021-02-07 16:13:55 -06:00
locore.S Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
mmu_oea64.c powerpc64: support superpages on pmap_mincore 2021-03-30 15:54:01 -03:00
mmu_oea64.h Implement superpages for PowerPC64 (HPT) 2020-11-06 14:12:45 +00:00
mmu_oea.c Clean up a couple of MD warts in vm_fault_populate(): 2021-03-30 18:15:55 -07:00
mmu_radix.c powerpc64: add missing TLB invalidations to radix 2021-04-06 08:31:44 -03:00
moea64_native.c SPDX: Spell 4 clause BSD license correctly 2021-03-11 14:17:54 -07:00
mp_cpudep.c powerpc/aim: Update timebase directly on resume instead of through platform 2021-03-31 13:34:06 -05:00
slb.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
trap_subr32.S [PowerPC] Fix AP bringup on 32-bit AIM SMP 2021-03-06 15:46:28 -06:00
trap_subr64.S powerpc64: Optimize radix trap handling a little more 2021-04-30 19:58:11 -05:00