Lines Matching +full:- +full:a +full:- +full:z0 +full:- +full:9
2 * strncmp - compare two strings with limit
4 * Copyright (c) 2018-2022, Arm Limited.
5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
13 * ARMv8-a, AArch64
25 b.none 9f
27 ldff1b z0.b, p0/z, [x0, x3]
34 Increment for a whole vector, even if we've only read a partial.
38 cmpeq p1.b, p0/z, z0.b, z1.b /* compare strings */
39 cmpne p2.b, p0/z, z0.b, 0 /* search for ~zero */
40 nands p2.b, p0/z, p1.b, p2.b /* ~(eq & ~zero) -> ne | zero */
43 /* Found end-of-string or inequality. */
45 lasta w0, p2, z0.b /* extract each char */
52 2: cmpeq p2.b, p1/z, z0.b, z1.b /* compare strings, as above */
53 cmpne p3.b, p1/z, z0.b, 0
57 /* No inequality or zero found. Re-init FFR, incr and loop. */
62 /* Found end-of-count. */
63 9: mov x0, 0 /* return equal */