Lines Matching +full:right +full:- +full:aligned
1 /* SPDX-License-Identifier: GPL-2.0 */
14 * Copyright (C) 1999, 2001 Hewlett-Packard Co
32 // string may not be 8-byte aligned. In this case we load the 8byte
55 // - the cmp r0,r0 is used as a fast way to initialize a predicate
59 // - we don't use the epilogue counter to exit the loop but we need to set
62 // - after the loop we must test for Nat values because neither the
68 // - Clearly performance tuning is required.
92 dep src=0,in0,0,3 // src=8byte-aligned in0 address
101 mov mask=-1 // our mask
105 sub tmp=64,tmp // how many bits to shift our mask on the right
110 add base=-16,src // keep track of aligned base
115 czx1.r val1=v[1] // search 0 byte from right
116 czx1.r val2=w[1] // search 0 byte from right following 8bytes
128 // - there must be a better way of doing the test
142 (p8) adds src=-16,src // correct position when 3 ahead
143 (p9) adds src=-24,src // correct position when 4 ahead
167 // - today we restart from the beginning of the string instead
182 czx1.r val1=val // search 0 byte from right
191 sub ret0=ret0,tmp // length=now - back -1