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

123

/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/
H A Dffs.s57 neg r0,r3 /* 0 */
58 and r3,r0,r3 /* 1 */
60 cntlzw r3,r3 /* 2 */
61 subf r3,r3,r4 /* 3 */
66 srawi r0,r3,31
67 xor r3,r0,r3
[all...]
H A Dmunge.s86 ld r5,0*8+0(r3)
87 ld r6,1*8+0(r3)
88 ld r7,2*8+0(r3)
89 ld r8,3*8+0(r3)
90 ld r9,4*8+0(r3)
91 ld r10,5*8+0(r3)
92 ld r11,6*8+0(r3)
93 ld r12,7*8+0(r3)
116 ld r5,0*8+0(r3)
117 ld r6,1*8+0(r3)
[all...]
H A Dxsumas.s35 * r3 - Pointer to data
40 * Note: If the "odd" flag is set, the address in r3 will be even. Nonetheless, we
64 rlwinm r2,r3,0,0x3 ; get byte offset in word
65 dcbt 0,r3 ; touch in 1st cache line
76 rlwinm r3,r3,0,0,29 ; word align address
78 lwz r6,0(r3) ; get partial word
84 addi r3,r3,4 ; point to next word of input
89 ; r3
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/commpage/
H A Dpthread.s45 // r3 = word number
49 slwi r5,r3,2 // convert word# to byte offset
50 mfspr r3,USER_SPRG3 // get per-thread cookie
52 lwzx r3,r3,r5 // get the thread-specific word
64 // r3 = word number
68 sldi r5,r3,3 // convert double-word# to byte offset
69 mfspr r3,USER_SPRG3 // get per-thread cookie
71 ldx r3,r3,r
[all...]
H A Datomic.s43 add r6,r3,r5
46 mr r3,r6
55 add r6,r3,r5
58 mr r3,r6
68 cmplw r7,r3
72 li r3,1
75 li r3,0 // return failure
86 cmplw r7,r3
90 li r3,1
94 li r3,
[all...]
H A Dcacheflush.s44 // r3 = ptr to 1st byte to flush
51 and r0,r3,r9 // get offset within line of 1st byte
58 dcbf 0,r3 // flush another line
59 add r3,r3,r5
73 // r3 = ptr to 1st byte to flush
80 and r0,r3,r9 // get offset within line of 1st byte
82 mr r7,r3 // copy ptr
89 dcbf 0,r3 // flush another line
90 add r3,r
[all...]
H A Dmach_absolute_time.s44 mftbu r3
47 cmplw r3,r5
58 // This is the version that is called in 32-bit mode, so we return the TBR in r3 and r4.
62 srdi r3,r4,32
72 // This is the version that is called in 64-bit mode, so we return the TBR in r3.
75 mftb r3
H A Dspinlocks.s54 mr r5, r3
55 li r3, 1
66 li r3,0 // we did not get the lock
73 mr r5, r3
74 li r3, 1
84 li r3,0 // we did not get the lock
93 lwarx r4,0,r3
97 stwcx. r6,0,r3
111 lwarx r4,0,r3
115 stwcx. r6,0,r3
[all...]
/macosx-10.5.8/xnu-1228.15.4/libkern/ppc/
H A DOSAtomic.s77 mr r4, r3
78 li r3, -1
88 mr r4, r3
89 li r3, 1
97 mr r5,r3 /* Save the increment */
99 lwarx r3, 0, r4 /* Grab the area value */
100 add r6, r3, r5 /* Add the value */
H A Dstrlen.s57 andi. r4,r3,0x03 ; test alignment first
58 mr r9,r3 ; store the original address for later use....
63 subi r3,r3,0x04 ; pre-decrement r3 for the lwzu
68 lwzu r8,4(r3) ; get the first 4 bytes and increment address
83 subf r3,r9,r3 ; start to compute string length
87 add r3,r3,r
[all...]
H A Dbcmp.s37 ; r3 - LHS
46 mr r6,r3 ; copy LHS ptr so we can use r3 as result
47 mr. r3,r5 ; test length and move to r3
56 sub. r3,r8,r7 ; compare first 4
57 bnelr ; first 4 differed (r3!=0)
59 sub r3,r9,r10 ; compare last 2
60 blr ; done, result in r3
71 sub. r3,r
[all...]
H A Dmemcmp.s38 ; r3 - LHS
47 mr r6,r3 ; we want to use r3 for compare result
48 mr. r3,r5 ; test length for 0
56 xor. r3,r8,r7 ; compare first 4
60 xor. r3,r8,r7 ; compare last 2
67 ; r3 = r8 xor r7 (r3!=0)
69 cntlzw r9,r3 ; count leading 0s in xor
74 sub r3,r
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dcache.s70 rlwinm r3,r3,0,0,31 // truncate address in case this is a 64-bit machine
76 rlwinm r3,r3,0,1,0 ; Duplicate high half of long long paddr into top of reg
78 rlwimi r3,r4,0,0,31 ; Combine bottom of long long to full 64-bits
97 rlwinm r3,r3,0,0,31 // truncate address in case this is a 64-bit machine
104 rlwinm r3,r3,0,1,0 ; Duplicate high half of long long paddr into top of reg
106 rlwimi r3,r
[all...]
H A Ddb_asm.s61 subi r3, r3, 4
67 lwz r0, 4(r3)
69 addi r3, r3, 4
82 addi r3, r3, 3
85 lbz r0, 1(r3)
87 addi r3, r3,
[all...]
H A Dmovc.s63 slwi r3,r3,12 // get page address from page num
77 sldi r3,r3,12 // get page address from page num
81 dcbz128 r3,r4 // zero either 32 or 128 bytes
83 dcbz128 r3,r5
108 rlwinm r3,r3,0,1,0 ; Duplicate high half of long long paddr into top of reg
110 rlwimi r3,r4,0,0,31 ; Combine bottom of long long to full 64-bits
122 lwz r0,0(r3)
[all...]
H A Dhibernate_restore.s105 rlwinm r3,r3,0,1,0 ; Duplicate high half of long long paddr into top of reg
106 rlwimi r3,r4,0,0,31 ; Combine bottom of long long to full 64-bits
118 cmpdi r3, 0
122 ld r0,0(r3)
123 ld r2,8(r3)
124 ld r7,16(r3)
125 ld r8,24(r3)
126 ld r9,32(r3)
127 ld r10,40(r3)
[all...]
H A DFirmware.s99 li r3,T_SYSTEM_CALL /* Tell the vector handler that we know nothing */
113 stw r3,saver3+4(r13) /* Pass back the return code to caller */
114 li r3,T_IN_VAIN /* Tell the vector handler that we took care of it */
117 callUnimp: li r3,T_SYSTEM_CALL /* Tell the vector handler that we know nothing */
139 stw r3,0(r4) /* Store the word */
170 neg r5,r3 /* Negate the address */
173 rlwinm r3,r3,0,0,19 /* Round the page on down */
179 dcbz 0,r3 /* Do the even line */
181 dcbz r6,r3 /* Clea
[all...]
H A Dmisc_asm.s164 cntlzw r3,r3
203 mfspr r3,mmcr0
207 mtspr mmcr0,r3
211 mfspr r3,mmcr1
215 mtspr mmcr1,r3
219 mfspr r3,mmcr2
223 mtspr mmcr2,r3
227 mfspr r3,pmc1
231 mtspr pmc1,r3
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/ppc/
H A Dchud_cpu_asm.s36 * r3: address to store value in
128 std r5,0(r3)
132 std r5,0(r3)
136 std r5,0(r3)
140 std r5,0(r3)
144 std r5,0(r3)
148 std r5,0(r3)
152 std r5,0(r3)
156 std r5,0(r3)
160 std r5,0(r3)
[all...]
/macosx-10.5.8/xnu-1228.15.4/pexpert/ppc/
H A Dpe_misc.s46 stw r4, 0(r3)
47 stw r5, 4(r3)
/macosx-10.5.8/xnu-1228.15.4/osfmk/console/ppc/
H A Dvideo_scroll.s66 lfd f0, 0(r3)
67 lfd f1, 8(r3)
69 addi r3, r3, 16
73 cmpl cr0, r3, r4
118 lfd f0, -16(r3)
119 lfd f1, -8(r3)
121 subi r3, r3, 16
125 cmpl cr0, r3, r
[all...]
/macosx-10.5.8/xnu-1228.15.4/libsyscall/custom/
H A D__gettimeofday.s34 /* This syscall is special cased: the timeval is returned in r3/r4.
39 mr r12,r3 // save ptr to timeval
41 stg r3,0(r12) // "stw" in 32-bit mode, "std" in 64-bit mode
43 li r3,0
H A D__pipe.s35 mr r12,r3 // save fildes across syscall
37 stw r3,0(r12)
39 li r3,0
H A D__fork.s73 1: mflr r3
75 addis r3,r3,ha16(LC3-1b)
76 addi r3,r3,lo16(LC3-1b)
79 lg r3,SF_LOCAL1(r1)
80 mtspr ctr,r3
90 li r3,0 // flag for "we are the child"
95 * r3 = child's pid
98 stg r3,SF_LOCAL
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/ppc/
H A Dkdp_misc.s55 rlwinm r3,r3,0,1,0 ; Dup low to high source
57 rlwimi r3,r4,0,0,31 ; Copy bottom on in source
62 lbz r0,0(r3) ; Grab a whole one
64 addi r3,r3,1 ; Next source

Completed in 117 milliseconds

123