Searched refs:r8 (Results 1 - 25 of 67) sorted by relevance

123

/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/commpage/
H A Dmemset_g3.s47 * r8 = ptr to the 1st byte to store (16-byte aligned)
53 * r8 = ptr to next byte to store (still 16-byte aligned)
59 andi. r0,r8,16 // cache line aligned?
66 stfd f0,0(r8) // no, store another 16 bytes to align
67 stfd f1,8(r8)
69 addi r8,r8,16
81 dcbz 0,r8 // zero first cache line (clearing cr7 if alignment exception)
88 stfd f0,0(r8)
89 stfd f1,8(r8)
[all...]
H A Dmemset_g4.s48 * r8 = ptr to the 1st byte to store (16-byte aligned)
54 * r8 = ptr to next byte to store (still 16-byte aligned)
65 andi. r5,r8,0x10 // is ptr 32-byte aligned?
76 stvx v0,0,r8 // store another 16 bytes to align
77 addi r8,r8,16
83 dcba 0,r8 // pre-allocate first cache line (possibly nop'd)
89 dcba r6,r8 // zero 2nd cache line (possibly nop'd)
97 dcba r10,r8 // zero one 64-byte chunk ahead (possibly nop'd)
98 dcba r11,r8
[all...]
H A Dmemset_64.s66 * r8 = ptr to the 1st byte to store (16-byte aligned)
72 * r8 = ptr to next byte to store (still 16-byte aligned)
85 std r10,0(r8)
86 std r11,8(r8)
87 std r10,16(r8)
88 std r11,24(r8)
89 addi r8,r8,32
H A Dmemset_g5.s63 * r8 = ptr to the 1st byte to store (16-byte aligned)
69 * r8 = ptr to next byte to store (still 16-byte aligned)
78 neg r10,r8 // start to align ptr
94 stvx v0,0,r8
95 addi r8,r8,16
106 dcbzl 0,r8 // zero first cache line (clearing cr7 if alignment exception)
119 dcbzl r11,r8 // zero one line ahead
120 addi r10,r8,64
121 stvx v0,0,r8
[all...]
H A Dcommpage_asm.s107 * r8 = ptr to our static data (kkBinary0, kkDouble1, kkTicksPerSec)
122 lis r8,hi16(Ldata) // point to our data
126 ori r8,r8,lo16(Ldata)
129 lfd f1,kkBinary0(r8) // get fixed 0s
144 lwz r0,kkTicksPerSec+4(r8) // get last ticks_per_sec (or 0 if first)
155 stw r7,kkTicksPerSec+4(r8) // must recompute SEC_PER_TICK
161 lfd f3,kkTicksPerSec(r8) // float new ticks_per_sec + 2**52
162 lfd f4,kkDouble1(r8) // f4 <- double(1.0)
245 mftb r8 // star
[all...]
H A Dbzero_32.s63 srwi r8,r4,5 // r8 <- #32-byte chunks
64 cmpwi cr1,r8,0 // any chunks?
65 mtctr r8 // set up loop count
66 beq 1f // skip if already 32-byte aligned (r8!=0)
H A Dgettimeofday.s74 lwz r8,_COMM_PAGE_TIMESTAMP+4(0) // r8 = timestamp 32 bit seconds
92 cmplw cr5,r9,r8
127 add r6,r8,r5 // add elapsed seconds to timestamp seconds
150 ld r8,_COMM_PAGE_TIMESTAMP(0) // r8 = timestamp (seconds)
158 cmpld cr7,r8,r12
185 add r6,r8,r5 // add elapsed seconds to timestamp seconds
208 ld r8,_COMM_PAGE_TIMESTAMP(0) // r8
[all...]
H A Datomic.s93 li r8,-8 // on 970, must release reservation
95 stwcx. r4,r8,r1 // store into red zone to release
113 li r8,-8 // on 970, must release reservation
115 stdcx. r4,r8,r1 // store into red zone to release
154 li r8,-8 // on 970, must release reservation
156 stwcx. r4,r8,r1 // store into red zone to release
176 li r8,-8 // on 970, must release reservation
178 stdcx. r4,r8,r1 // store into red zone to release
H A Dbzero_128.s78 srwi r8,r4,7 // r8 <- 128-byte chunks
80 mtctr r8 // set up loop count
81 beq Ldcbz // skip if already aligned (r8!=0)
86 cmpwi cr1,r8,0 // any 128-byte cache lines to 0?
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A DPerformance.s86 lis r8,PMIHIST_SIZE@h /* Get high half of the table size */
88 ori r8,r8,PMIHIST_SIZE@l /* Get the low half of the table size */
93 clrloop: subi r8,r8,32 /* Back off a cache line */
95 sub. r8,r8,r6 /* Back off a second time (we only do this to generate a CR */
H A Dbits.s44 rlwinm r8,r3,29,3,31 /* Get byte displacement */
47 lbzx r5,r4,r8 /* Grab target byte */
50 stbx r5,r4,r8 /* Save the byte back */
61 rlwinm r8,r3,29,3,31 /* Get byte displacement */
64 lbzx r5,r4,r8 /* Grab target byte */
67 stbx r5,r4,r8 /* Save the byte back */
106 rlwinm r8,r3,29,3,31 /* Get byte displacement */
108 lbzx r5,r4,r8 /* Grab target byte */
H A Dmisc_asm.s62 lis r8,hi16(MASK(MSR_VEC)) ; Get the vector flag
64 ori r8,r8,lo16(MASK(MSR_EE)|MASK(MSR_FP)) ; Add the FP flag
66 andc r7,r7,r8 ; Clear VEC and FP
69 mfsprg r8,1 ; Get the current activation
70 lwz r8,ACT_PER_PROC(r8) ; Get the per_proc block
73 lwz r9,PP_DEBSTACKPTR(r8) ; Get the debug stack
83 stw r0,PP_DEBSTACKPTR(r8) ; Mark debug stack as busy
90 lis r8,hi1
[all...]
H A Datomic_switch.s120 lwz r8,BTTD_INTCONTROLWORD(r6) ; Get Interrupt Control Word
126 rlwinm r1,r8,0,INTSTATEMASK_B,INTSTATEMASK_E
128 rlwinm r8,r8,0,INTSTATEMASK_E+1,INTSTATEMASK_B-1
133 oris r8,r8,PSEUDOKERNELSTATE ; Update state for entering the PK
136 rlwimi r8,r1,32-INTCR2TOBACKUPSHIFT,INTBACKUPCR2MASK_B,INTBACKUPCR2MASK_E
140 stw r8,BTTD_INTCONTROLWORD(r6) ; Update ICW
195 lwz r8,BTTD_INTCONTROLWORD(r6) ; Get ICW
199 rlwimi r8,r
[all...]
H A Dcache.s216 subi r8,r9,1 // r8 <- (linesize-1)
234 andc r3,r3,r8 // r3 <- 1st line to operate on
235 add r4,r7,r8 // round up
236 andc r4,r4,r8 // r4 <- 1st line not to operate on
296 subi r8,r9,1 // r8 <- (linesize-1)
311 andc r3,r3,r8 // r3 <- 1st line to operate on
312 add r4,r7,r8 // round up
313 andc r4,r4,r8 // r
[all...]
H A Dmovc.s246 li r8,96 // get look-ahead for touch
255 dcbt r3,r8 // touch 3 lines ahead
277 li r8,PPC_PGBYTES-32 // point to last line in page
279 subic. r9,r8,32 // more to go?
280 icbi r4,r8 // flush from icache
281 subi r8,r9,32 // get offset to next line
328 li r8,-128 // offset so we can reach back one line
357 dcbf r8,r4 // flush the line we just wrote
362 li r8,PPC_PGBYTES-128 // point to last line in page
364 subic. r9,r8,12
[all...]
H A Dbcopy.s81 mfsprg r8,2 ; get processor feature flags
85 mtcrf 0x02,r8 ; move pf64Bit to cr6 so we can test
97 xor r8,r12,r4 ; See if we went to next page
98 or r0,r7,r8 ; Combine wrap
104 li r8,2 ; Set validity flags
110 rlwimi r8,r12,0,0,14 ; Set source upper DBAT value
121 mtdbatu 1,r8 ; Set source upper DBAT
166 mfsprg r8,2 ; get processor feature flags
170 mtcrf 0x02,r8 ; move pf64Bit to cr6 so we can test
201 ori r8,r
[all...]
H A Dsavearea_asm.s79 ld r8,next_savearea(r10) ; Start with the current savearea
80 std r8,SVsavefreesnapshot(0) ; Make it the restore list anchor
85 std r7,savemisc1(r8) ; Link this one
87 mr r8,r7
98 std r7,savemisc1(r8) ; Link this one
100 mr r8,r7
104 std r5,savemisc1(r8) ; End the list
113 lwz r8,next_savearea+4(r10) ; Start with the current savearea
114 stw r8,SVsavefreesnapshot+4(0) ; Make it the restore list anchor
119 stw r7,savemisc1+4(r8) ; Lin
[all...]
H A Dhibernate_restore.s52 andi. r0, r8, pf64Bit
64 lwz r8,12(r4)
74 stw r8,12(r6)
125 ld r8,24(r3)
135 std r8,24(r4)
144 ld r8,88(r3)
153 std r8,88(r4)
/macosx-10.5.8/xnu-1228.15.4/libsyscall/custom/
H A D__ptrace.s36 MI_GET_ADDRESS(r8,_errno)
37 stw r7,0(r8)
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/
H A Dmunge.s89 ld r8,3*8+0(r3)
98 std r8,3*8+0(r4)
119 ld r8,3*8+0(r3)
124 std r8,3*8+0(r4)
142 lwz r8,3*8+4(r3)
155 stw r8,3*8+4(r4)
181 lwz r8,3*8+4(r3)
190 stw r8,3*8+4(r4)
215 lwz r8,3*8+4(r3)
222 stw r8,
[all...]
/macosx-10.5.8/xnu-1228.15.4/libkern/ppc/
H A Dmemcmp.s54 lwz r8,0(r6) ; first 4 bytes of LHS
56 xor. r3,r8,r7 ; compare first 4
58 lhz r8,4(r6) ; last 2 of LHS
60 xor. r3,r8,r7 ; compare last 2
65 ; r8 = LHS bytes
67 ; r3 = r8 xor r7 (r3!=0)
72 srw r4,r8,r6 ; r4 = LHS differing byte
82 lwz r8,0(r6) ; next 4 bytes from LHS
86 xor. r3,r8,r7 ; compare next 4 bytes
100 lbz r8,
[all...]
H A Dbcmp.s53 lwz r8,0(r6) ; first 4 bytes of LHS
56 sub. r3,r8,r7 ; compare first 4
67 lwz r8,0(r6) ; next 4 bytes from LHS
71 sub. r3,r8,r7 ; compare next 4 bytes
85 lbz r8,0(r6) ; get next byte from LHS
89 sub. r3,r8,r7 ; compare
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/ppc/
H A Dkdp_asm.s54 mfsprg r8,0 /* Get the per_proc block address */
57 lwz r9, PP_DEBSTACKPTR(r8) /* get kdp stack pointer */
71 stw r0, PP_DEBSTACKPTR(r8) /* Mark kdp stack as busy */
86 mfsprg r8,0 /* Get the per_proc block address */
88 stw r1, PP_DEBSTACKPTR(r8) /* Mark gdb stack as free */
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/commpage/
H A Dspinlocks.s163 movq %rdi,%r8
167 cmpxchgl %edx, (%r8)
185 movq %rdi,%r8
190 cmpxchgl %edx, (%r8)
198 cmpl %eax, (%r8)
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/ppc/
H A D_types.h59 unsigned int r8; member in struct:ppc_thread_state
106 unsigned long long r8; member in struct:ppc_thread_state64

Completed in 83 milliseconds

123