Home
last modified time | relevance | path

Searched full:zbb (Results 1 – 16 of 16) sorted by relevance

/linux/arch/riscv/include/asm/
H A Dchecksum.h49 * ZBB only saves three instructions on 32-bit and five on 64-bit so not in ip_fast_csum()
59 .option arch,+zbb \n\ in ip_fast_csum()
67 .option arch,+zbb \n\ in ip_fast_csum()
H A Darch_hweight.h28 ".option arch,+zbb\n" in __arch_hweight32()
55 ".option arch,+zbb\n" in __arch_hweight64()
H A Dbitops.h53 ".option arch,+zbb\n" in variable__ffs()
78 ".option arch,+zbb\n" in variable__fls()
106 ".option arch,+zbb\n" in variable_ffs()
134 ".option arch,+zbb\n" in variable_fls()
H A Dswab.h40 ".option arch,+zbb\n" \
/linux/arch/riscv/lib/
H A Dcsum.c49 .option arch,+zbb \n\ in csum_ipv6_magic()
153 .option arch,+zbb \n\ in do_csum_with_alignment()
168 .option arch,+zbb \n\ in do_csum_with_alignment()
225 .option arch,+zbb \n\ in do_csum_no_alignment()
235 .option arch,+zbb \n\ in do_csum_no_alignment()
H A Dstrcmp.S43 * Variant of strcmp using the ZBB extension if available.
51 .option arch,+zbb
H A Dstrncmp.S48 * Variant of strncmp using the ZBB extension if available
54 .option arch,+zbb
/linux/Documentation/devicetree/bindings/riscv/
H A Dextensions.yaml111 provided by the Zba, Zbb, and Zbs extensions.
435 - const: zbb
437 The standard Zbb bit-manipulation extension for basic bit-manipulation
946 # B comprises Zba, Zbb, and Zbs
955 const: zbb
958 # Zba, Zbb, Zbs together require B
964 const: zbb
/linux/arch/riscv/boot/dts/starfive/
H A Djh7110.dtsi32 riscv,isa-extensions = "i", "m", "a", "c", "zba", "zbb", "zicntr", "zicsr",
62 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zba", "zbb", "zicntr",
96 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zba", "zbb", "zicntr",
130 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zba", "zbb", "zicntr",
164 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zba", "zbb", "zicntr",
/linux/arch/riscv/
H A DKconfig769 bool "Zbb extension support for bit manipulation instructions"
774 Zbb extension is detected at boot. Some optimisations may
775 additionally depend on toolchain support for Zbb.
777 The Zbb extension provides instructions to accelerate a number
/linux/arch/riscv/net/
H A Dbpf_jit.h1189 if (rv_ext_enabled(ZBB)) { in emit_sextb()
1200 if (rv_ext_enabled(ZBB)) { in emit_sexth()
1216 if (rv_ext_enabled(ZBB)) { in emit_zexth()
1238 if (rv_ext_enabled(ZBB)) { in emit_bswap()
/linux/tools/testing/selftests/kvm/riscv/
H A Dget-reg-list.c586 KVM_ISA_EXT_ARR(ZBB), in isa_ext_single_id_to_str()
1248 KVM_ISA_EXT_SIMPLE_CONFIG(zbb, ZBB);
/linux/arch/riscv/kernel/
H A Dsetup.c367 if (!IS_ENABLED(CONFIG_RISCV_ISA_ZBB) || !riscv_isa_extension_available(NULL, ZBB)) in setup_arch()
H A Dsys_hwprobe.c113 EXT_KEY(isainfo->isa, ZBB, pair->value, missing); in hwprobe_isa_ext0()
H A Dcpufeature.c577 __RISCV_ISA_EXT_DATA(zbb, RISCV_ISA_EXT_ZBB),
/linux/Documentation/arch/riscv/
H A Dhwprobe.rst88 * :c:macro:`RISCV_HWPROBE_EXT_ZBB`: The Zbb extension is supported, as defined