| /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
|
| /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 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 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 | 769 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 D | bpf_jit.h | 1189 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 D | get-reg-list.c | 586 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 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 | 577 __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
|