Lines Matching refs:byte

62 	! is copied based upon destination alignment.  (byte, half-word,
72 blu .shortcpy ! n < 7, use byte-wise copy
78 nop ! align loop on 16-byte boundary
79 nop ! align loop on 16-byte boundary
86 tst %i1 ! end of src reached (null byte) ?
87 bz,a .bytepad ! yes, at least one byte to pad here
90 bnz .alignsrc ! no, copy another byte
109 bz,a .storeword ! no zero byte if magic expression == 0
117 srl %i1, 24, %g1 ! first byte
119 sub %g1, 1, %g1 ! byte == 0 ? -1 : byte - 1
120 sra %g1, 31, %g1 ! byte == 0 ? -1 : 0
121 andn %i1, %g1, %i1 ! if byte == 0, start padding with null bytes
122 srl %i1, 16, %g1 ! second byte
124 and %g1, 0xff, %g1 ! isolate byte
125 sub %g1, 1, %g1 ! byte == 0 ? -1 : byte - 1
126 sra %g1, 31, %g1 ! byte == 0 ? -1 : 0
127 andn %i1, %g1, %i1 ! if byte == 0, start padding with null bytes
128 srl %i1, 8, %g1 ! third byte
130 and %g1, 0xff, %g1 ! isolate byte
131 sub %g1, 1, %g1 ! byte == 0 ? -1 : byte - 1
132 sra %g1, 31, %g1 ! byte == 0 ? -1 : 0
133 andn %i1, %g1, %i1 ! if byte == 0, start padding with null bytes
134 stb %i1, [%l0 + 3] ! store fourth byte
136 bcs .bytepad ! yes, do simple byte wise fill
141 ! here there is a least one more byte to zero out: otherwise we would
149 addcc %l1, 1, %l1 ! any more byte needed to align
150 bnz .makealigned ! yup, pad another byte
207 sub %g1, 1, %g1 ! byte == 0 ? -1 : byte - 1
208 sra %g1, 31, %g1 ! byte == 0 ? -1 : 0
209 andn %i1, %g1, %i1 ! if byte == 0, start padding with null
210 srl %i1, 16, %g1 ! second byte
222 and %g1, 0xff, %g1 ! isolate byte
223 sub %g1, 1, %g1 ! byte == 0 ? -1 : byte - 1
224 sra %g1, 31, %g1 ! byte == 0 ? -1 : 0
225 andn %i1, %g1, %i1 ! if byte == 0, start padding with null
227 stb %i1, [%i2 + %i4] ! store fourth byte
242 srl %i1, 24, %g1 ! %g1<7:0> = 1st byte; half-word aligned now
243 stb %g1, [%l0] ! store first byte
247 stb %i1, [%l0 + 3] ! store fourth byte
259 bnz .zerobyte ! x has zero byte, handle end cases
272 bnz,a .shortcpy ! nope, next byte
279 bnz,a .padbyte2 ! if n != 0, next byte
281 nop ! align label below to 16-byte boundary