Lines Matching full:x8
26 mov x8, #-1 // prepare a 0xfff..fff register
30 lsl x8, x8, x12 // mask of bytes in the string
39 ands x8, x8, x5
43 rbit x8, x8
44 clz x8, x8 // index of mismatch
45 lsr x8, x8, #2
47 sub x8, x8, x11 // ... from beginning of the string
49 add x0, x0, x8
50 add x4, x9, x8 // dst + cnt
51 add x5, x1, x8 // src + cnt
68 rbit x8, x5
69 clz x8, x8 // index of mismatch
70 lsr x8, x8, #2
73 sub x8, x8, x11 // adjust for alignment offset
74 add x0, x0, x8 // return value
77 add x4, x9, x8
78 add x5, x1, x8
136 orr x8, x4, x5 // insert match in mask at limit
138 rbit x8, x8 // simulate x86 tzcnt
139 clz x7, x8 // index of mismatch
140 lsr x8, x7, #2
144 add x8, x8, #1
145 add x0, x0, x8
147 ldr q1, [x10, x8] // load tail
161 rbit x8, x5
162 clz x8, x8 // index of mismatch
163 lsr x3, x8, #2
184 ands x8, x8, x5 // if match always fall through
192 fmov x8, d1
193 mov x7, x8
197 orr x8, x8, x4 // induce match in upper bytes of mask
199 rbit x8, x8
200 clz x4, x8 // index of mismatch
201 lsr x8, x4, #2
202 add x8, x8, #16 // no match in first chunk
206 rbit x8, x8
207 clz x4, x8 // index of mismatch
208 lsr x8, x4, #2
210 add x0, x0, x8 // return value if terminator not found
219 sub x8, x8, x11
220 add x4, x9, x8 // dst + cnt
221 add x5, x1, x8 // src + cnt
225 cmp x8, #16
237 tbz x8, #3, .L0407
247 cmp x8, #3
258 lsr x14, x8, #1