freebsd-dev/sys/powerpc
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 powerpc64: Optimize radix trap handling a little more 2021-04-30 19:58:11 -05:00
amigaone powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
booke Clean up a couple of MD warts in vm_fault_populate(): 2021-03-30 18:15:55 -07:00
conf powerpc: Fix programmer's switch driver and add to GENERIC 2021-04-05 12:04:12 -05:00
cpufreq powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
fpu powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
include Rename struct device to struct _device 2021-04-12 09:32:30 -04:00
mambo Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
mikrotik powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
mpc85xx Merge the QorIQ GPIO drivers between arm and powerpc 2021-04-05 10:35:15 -05:00
ofw Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
powermac powerpc: Fix programmer's switch driver and add to GENERIC 2021-04-05 12:04:12 -05:00
powernv opal_console: fix serial console output corruption on powerpc64 2021-04-16 20:10:09 -03:00
powerpc [PowerPC] Remove unused IPI type count tracking. 2021-03-30 20:03:06 -05:00
ps3 Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
pseries powerpc/pseries: Add new hypercall definition, H_REGISTER_PROC_TBL 2021-03-30 21:22:21 -05:00
psim powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00