Lines Matching refs:o2

67 	mov	%o0, %o2		! save dst
73 ldub [%o2 + %o3], %o5 ! src[0]
75 stb %o5, [%o2] ! dst[0] = src[0]
77 inc %o2 ! src++, dst++
83 lduh [%o2 + %o3], %o5 ! load src halfword
87 stb %o4, [%o2] ! store first byte
89 stb %o5, [%o2 + 1] ! store second byte
91 add %o2, 2, %o2 ! src += 2
97 lduw [%o2 + %o3], %o5 ! load src word
101 stb %o4, [%o2] ! store first byte
105 stb %o4, [%o2 + 1] ! store second byte
109 stb %o4, [%o2 + 2] ! store third byte
111 stb %o5, [%o2 + 3] ! store fourth byte
113 add %o2, 4, %o2 ! src += 2
119 and %o2, 3, %g4 ! dst<1:0> to examine offset
128 andcc %o2, 7, %g0 ! dst word aligned ?
133 ldx [%o2 + %o3], %o1 ! src dword
134 add %o2, 8, %o2 ! src += 8, dst += 8
139 stx %o1, [%o2 - 8] ! store word to dst (address pre-incremented)
147 stb %o3, [%o2 - 8] ! store first byte
152 stb %o3, [%o2 - 7] ! store second byte
157 stb %o3, [%o2 - 6] ! store third byte
162 stb %o3, [%o2 - 5] ! store fourth byte
167 stb %o3, [%o2 - 4] ! store fifth byte
172 stb %o3, [%o2 - 3] ! store sixth byte
177 stb %o3, [%o2 - 2] ! store seventh byte
178 stb %o1, [%o2 - 1] ! store eigth byte
185 ldx [%o2 + %o3], %o1 ! x = src[]
186 add %o2, 8, %o2 ! src += 8, dst += 8
192 stb %g1, [%o2 - 8] ! store first byte
194 stw %g1, [%o2 - 7] ! store bytes 2, 3, 4, 5
196 sth %g1, [%o2 - 3] ! store bytes 6, 7
198 stb %o1, [%o2 - 1] ! store eigth byte
204 ldx [%o2 + %o3], %o1 ! x = src[]
205 add %o2, 8, %o2 ! src += 8, dst += 8
211 stb %g1, [%o2 - 8] ! store first byte
213 sth %g1, [%o2 - 7] ! store bytes 2, 3
215 stw %g1, [%o2 - 5] ! store bytes 4, 5, 6, 7
217 stb %o1, [%o2 - 1] ! store eigth byte
223 ldx [%o2 + %o3], %o1 ! x = src[]
224 add %o2, 8, %o2 ! src += 8, dst += 8
230 sth %g1, [%o2 - 8] ! store first and second byte; word aligned now
232 stw %g1, [%o2 - 6] ! store bytes 3, 4, 5, 6
234 sth %o1, [%o2 - 2] ! store seventh and eigth byte
237 ldx [%o2 + %o3], %o1 ! x = src[]
239 add %o2, 8, %o2 ! src += 8, dst += 8
245 stw %g1, [%o2 - 8] ! store bytes 1,2,3,4 (address is pre-incremented)
247 stw %o1, [%o2 - 4] ! store bytes 5,6,7,8