Lines Matching refs:word

86  * used for finding null bytes in a word:
88 * #define has_null(word) ((word - 0x01010101) & (~word & 0x80808080))
119 ! a word boundary. During these steps, the bytes are translated to
130 andcc %i0, 3, %i3 ! s1 word-aligned ?
195 andcc %i1, 3, %i3 ! s2 word-aligned ?
199 ! enough to have a word aligned desintation
207 andcc %i1, 3, %i3 ! s2 word aligned ?
212 bz .word4 ! yup, s2 word-aligned
217 andn %i1, 3, %i1 ! round s1 pointer down to next word
220 lduw [%i1], %i0 ! new lower word from s2
222 sll %i0, %l6, %g1 ! partial unaligned word from s2
228 ! word aligned, if it is, we use word4 & cmp4
231 andn %i4, %i0, %l4 ! ~word & 0x80808080
232 sub %i0, %i5, %l5 ! word - 0x01010101
233 andcc %l5, %l4, %g0 ! (word - 0x01010101) & ~word & 0x80808080
234 bz,a .doload ! null byte in previous aligned s2 word
235 lduw [%i1 + 4], %i0 ! load next aligned word from s2
237 srl %i0, %l7, %i3 ! byte(s) from new aligned word from s2
238 or %g1, %i3, %g1 ! merge to get unaligned word from s2
239 lduw [%i1 + %i2], %i3 ! x1 = word from s1
254 add %l0, %i3, %i3 ! lowercase word from s1
255 add %l4, %g1, %g1 ! lowercase word from s2
259 andn %i4, %i3, %l4 ! ~word & 0x80808080
260 sub %i3, %i5, %l5 ! word - 0x01010101
261 andcc %l5, %l4, %g0 ! (word - 0x01010101) & ~word & 0x80808080
263 sll %i0, %l6, %g1 ! bytes from old aligned word from s2
272 ! we have a word aligned source and destination! This means
276 lduw [%i1 + %i2], %i3 ! x1 = word from s1
280 lduw [%i1], %g1 ! x2 = word from s2
294 add %l0, %i3, %i3 ! lowercase word from s1
295 add %l4, %g1, %g1 ! lowercase word from s2
299 andn %i4, %i3, %l4 ! ~word & 0x80808080
300 sub %i3, %i5, %l5 ! word - 0x01010101
301 andcc %l5, %l4, %g0 ! (word - 0x01010101) & ~word & 0x80808080
303 lduw [%i1 + %i2], %i3 ! load word from s1
312 srl %g1, 24, %i2 ! first byte of mismatching word in s2
313 srl %i3, 24, %i1 ! first byte of mismatching word in s1
316 srl %g1, 16, %i2 ! second byte of mismatching word in s2
322 srl %i3, 16, %i1 ! second byte of mismatching word in s1
325 srl %g1, 8, %i2 ! third byte of mismatching word in s2
331 srl %i3, 8, %i1 ! third byte of mismatching word in s1