Lines Matching +full:alternative +full:- +full:b
1 /* SPDX-License-Identifier: GPL-2.0-only */
5 #include <asm/alternative-macros.h>
11 ALTERNATIVE("nop", "j strlen_zbb", 0, RISCV_ISA_EXT_ZBB, CONFIG_RISCV_ISA_ZBB)
15 * a0 - string length
18 * a0 - String to measure
28 j 1b
52 * a0 - string length
55 * a0 - String to measure
62 andi t2, a0, SZREG-1
65 andi t0, a0, -SZREG
81 /* Convert non-NUL into 0xff and NUL into 0x00. */
82 orc.b t1, t1
84 /* Convert non-NUL into 0x00 and NUL into 0xff. */
102 li t3, -1
112 orc.b t1, t1
113 beq t1, t3, 1b