freebsd-dev/sys/powerpc
Justin Hibbits 19cfd8759e powerpc: micro-optimize cpu_switch()
Since the non-volatile registers are restored at the end of cpu_switchin (of
the new thread) they're free for us to use for our own purposes.  Load the
PCB_FLAGS into a non-volatile register so it's preserved across the C
function calls that manage FPU and altivec state.  This removes 4 loads from
each file.  Might be a trivial performance improvement (~12 clock cycles per
context switch).

MFC after:	3 weeks
2019-04-27 00:53:41 +00:00
..
aim powerpc64: Clear FSCR SPR, so that it's in a known state 2019-04-26 03:18:49 +00:00
booke powerpc64: Use medium code model in asm files for TOC references 2019-03-29 02:38:30 +00:00
conf Move mpr/mps drivers from per-arch NOTES files into the MI notes 2019-04-13 06:30:45 +00:00
cpufreq powerpc: Fix cpufreq statement scoping 2019-03-08 03:59:53 +00:00
fpu powerpc: Apply r178139 from sparc64 to powerpc's fpu_sqrt 2019-04-03 03:54:30 +00:00
include powerpc: Fix whitespace in SPR header. 2019-04-26 03:13:44 +00:00
mambo
mikrotik
mpc85xx
ofw Add NUMA support to powerpc 2019-04-13 04:03:18 +00:00
powermac
powernv powerpc64/powernv: Relax flash block write requirements 2019-04-20 02:44:38 +00:00
powerpc powerpc: micro-optimize cpu_switch() 2019-04-27 00:53:41 +00:00
ps3
pseries [PPC64] Fix wrong KASSERT in mphyp_pte_insert() 2019-04-23 17:11:45 +00:00
psim