From: Kirk McKusick Date: Sat, 13 Aug 1983 08:14:30 +0000 (-0800) Subject: shave those cycles; save those bits! X-Git-Tag: BSD-4_2-Snapshot-Development~404 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/7c71ef8bd8174da0bee71bd2b94173d56c83ea87?hp=cada353fad1271323b86b913d8504fc3ec208156 shave those cycles; save those bits! SCCS-vsn: sys/vax/vax/locore.s 6.2 --- diff --git a/usr/src/sys/vax/vax/locore.s b/usr/src/sys/vax/vax/locore.s index cbc00c3d2a..bee1995252 100644 --- a/usr/src/sys/vax/vax/locore.s +++ b/usr/src/sys/vax/vax/locore.s @@ -1,4 +1,4 @@ -/* locore.s 6.1 83/08/01 */ +/* locore.s 6.2 83/08/12 */ #include "../machine/psl.h" #include "../machine/pte.h" @@ -1218,11 +1218,12 @@ Fastreclaim: movl P_XLINK(r5),r5 # p = p->p_xlink; jneq 3b # } 2: # collect a few statistics... - incl _cnt+V_FAULTS # cnt.v_faults++; incl _u+U_RU+RU_MINFLT # u.u_ru.ru_minflt++; - incl _cnt+V_PGREC # cnt.v_pgrec++; - incl _cnt+V_FASTPGREC # cnt.v_fastpgrec++; - incl _cnt+V_TRAP # cnt.v_trap++; + moval _cnt,r0 + incl V_FAULTS(r0) # cnt.v_faults++; + incl V_PGREC(r0) # cnt.v_pgrec++; + incl V_FASTPGREC(r0) # cnt.v_fastpgrec++; + incl V_TRAP(r0) # cnt.v_trap++; POPR addl2 $8,sp # pop pc, code mtpr $HIGH,$IPL ## dont go to a higher IPL (GROT)