| /linux/arch/riscv/include/asm/ |
| H A D | checksum.h | 49 * 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 D | arch_hweight.h | 28 ".option arch,+zbb\n" in __arch_hweight32() 55 ".option arch,+zbb\n" in __arch_hweight64()
|
| H A D | bitops.h | 53 ".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 D | swab.h | 40 ".option arch,+zbb\n" \
|
| /linux/arch/riscv/lib/ |
| H A D | csum.c | 49 .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 D | strcmp.S | 43 * Variant of strcmp using the ZBB extension if available. 51 .option arch,+zbb
|
| H A D | strncmp.S | 48 * Variant of strncmp using the ZBB extension if available 54 .option arch,+zbb
|
| H A D | strnlen.S | 45 * Variant of strnlen using the ZBB extension if available 59 .option arch,+zbb
|
| /linux/Documentation/devicetree/bindings/riscv/ |
| H A D | extensions.yaml | 111 provided by the Zba, Zbb, and Zbs extensions. 435 - const: zbb 437 The standard Zbb bit-manipulation extension for basic bit-manipulation 952 # B comprises Zba, Zbb, and Zbs 961 const: zbb 964 # Zba, Zbb, Zbs together require B 970 const: zbb
|
| /linux/arch/riscv/boot/dts/starfive/ |
| H A D | jh7110.dtsi | 32 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 D | Kconfig | 776 bool "Zbb extension support for bit manipulation instructions" 780 Zbb extension is detected at boot. Some optimisations may 781 additionally depend on toolchain support for Zbb. 783 The Zbb extension provides instructions to accelerate a number
|
| /linux/arch/riscv/net/ |
| H A D | bpf_jit.h | 1193 if (rv_ext_enabled(ZBB)) { in emit_sextb() 1204 if (rv_ext_enabled(ZBB)) { in emit_sexth() 1220 if (rv_ext_enabled(ZBB)) { in emit_zexth() 1242 if (rv_ext_enabled(ZBB)) { in emit_bswap()
|
| /linux/tools/testing/selftests/kvm/riscv/ |
| H A D | get-reg-list.c | 591 KVM_ISA_EXT_ARR(ZBB), in isa_ext_single_id_to_str() 1257 KVM_ISA_EXT_SIMPLE_CONFIG(zbb, ZBB);
|
| /linux/arch/riscv/kernel/ |
| H A D | setup.c | 367 if (!IS_ENABLED(CONFIG_RISCV_ISA_ZBB) || !riscv_isa_extension_available(NULL, ZBB)) in setup_arch()
|
| H A D | sys_hwprobe.c | 113 EXT_KEY(isainfo->isa, ZBB, pair->value, missing); in hwprobe_isa_ext0()
|
| H A D | cpufeature.c | 603 __RISCV_ISA_EXT_DATA(zbb, RISCV_ISA_EXT_ZBB),
|
| /linux/Documentation/arch/riscv/ |
| H A D | hwprobe.rst | 88 * :c:macro:`RISCV_HWPROBE_EXT_ZBB`: The Zbb extension is supported, as defined 429 presence of the Zba, Zbb, and Zbs sub-extensions.
|