Lines Matching refs:o4
51 andcc %o0, 3, %o4 ! str word aligned ?
60 cmp %o4, 3 ! only one byte needed to align?
68 cmp %o4, 2 ! only two bytes needed to align?
81 sethi %hi(0x01010101), %o4 ! Alan Mycroft's magic1 !
85 or %o4, %lo(0x01010101), %o4 !
92 sub %o2, %o4, %g1 ! word = (word - 0x01010101)
97 sub %g1, %o4, %o2 ! (tword - 0x01010101)
107 set 0xff000000, %o4 ! mask for 1st byte
108 andcc %g1, %o4, %g0 ! first byte zero (= found search char) ?
114 srl %o4, 16, %o4 ! 0x0000ff00 = mask for 3rd byte
116 andcc %g1, %o4, %g0 ! third byte zero (= found search char) ?
130 set 0xff000000, %o4 ! mask for 1st byte
131 andcc %g1, %o4, %g0 ! first byte == findchar ?
133 andcc %o2, %o4, %g0 ! first byte == 0 ?
135 set 0x00ff0000, %o4 ! mask for 2nd byte
137 andcc %g1, %o4, %g0 ! second byte == findchar ?
139 andcc %o2, %o4, %g0 ! second byte == 0 ?
141 srl %o4, 8, %o4 ! mask for 3rd byte = 0x0000ff00
143 andcc %g1, %o4, %g0 ! third byte == findchar ?
145 andcc %o2, %o4, %g0 ! third byte == 0 ?
162 cmp %o4, 2 ! str halfword aligned ?
167 cmp %o4, 3 ! only one byte needed to align?
177 srl %o1, 8, %o4 ! %o4<7:0> = first byte
178 tst %o4 ! first byte zero ?
186 sethi %hi(0x01010101), %o4 ! Alan Mycroft's magic1
188 or %o4, %lo(0x01010101), %o4
194 sub %o1, %o4, %g1 ! word = (word - 0x01010101)
200 set 0xff000000, %o4 ! mask for 1st byte
201 andcc %o1, %o4, %g0 ! first byte zero?
207 srl %o4, 16, %o4 ! 0x0000ff00 = mask for 3rd byte
209 andcc %o1, %o4, %g0 ! third byte zero?