Lines Matching refs:o4
65 andcc %o1, 7, %o4 ! dword aligned ?
84 srl %o5, 8, %o4 ! extract first byte
85 tst %o4 ! first byte == 0 ?
87 stb %o4, [%o2] ! store first byte
98 srl %o5, 24, %o4 ! extract first byte
99 tst %o4 ! is first byte zero ?
101 stb %o4, [%o2] ! store first byte
102 srl %o5, 16, %o4 ! extract second byte
103 andcc %o4, 0xff, %g0 ! is second byte zero ?
105 stb %o4, [%o2 + 1] ! store second byte
106 srl %o5, 8, %o4 ! extract third byte
107 andcc %o4, 0xff, %g0 ! third byte zero ?
109 stb %o4, [%o2 + 2] ! store third byte
116 sethi %hi(0x01010101), %o4 ! Alan Mycroft's magic1
117 or %o4, %lo(0x01010101),%o4! finish loading magic1
118 sllx %o4, 32, %o1 ! spread magic1
120 or %o4, %o1, %o4 ! to all 64 bits
122 sllx %o4, 7, %o5 ! Alan Mycroft's magic2
136 sub %o1, %o4, %g4 ! dword - 0x0101010101010101
142 orn %o4, %g0, %o4 ! 0xffffffffffffffff
143 sllx %o4, 56, %o4 ! 0xff00000000000000
145 andcc %o1, %o4, %g0 ! first byte zero?
148 srlx %o4, 8, %o4 ! 0x00ff000000000000
150 andcc %o1, %o4, %g0 ! second byte zero?
153 srlx %o4, 8, %o4 ! 0x0000ff0000000000
155 andcc %o1, %o4, %g0 ! third byte zero?
158 srlx %o4, 8, %o4 ! 0x000000ff00000000
160 andcc %o1, %o4, %g0 ! fourth byte zero?
163 srlx %o4, 8, %o4 ! 0x00000000ff000000
165 andcc %o1, %o4, %g0 ! fifth byte zero?
168 srlx %o4, 8, %o4 ! 0x0000000000ff0000
170 andcc %o1, %o4, %g0 ! sixth byte zero?
173 srlx %o4, 8, %o4 ! 0x000000000000ff00
174 andcc %o1, %o4, %g0 ! seventh byte zero?
188 sub %o1, %o4, %g4 ! x - 0x0101010101010101
207 sub %o1, %o4, %g4 ! x - 0x0101010101010101
226 sub %o1, %o4, %g4 ! x - 0x0101010101010101
241 sub %o1, %o4, %g4 ! x - 0x0101010101010101