Home
last modified time | relevance | path

Searched refs:imm64 (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/arch/mips/net/
Dbpf_jit_comp64.c124 static void emit_mov_i64(struct jit_context *ctx, u8 dst, u64 imm64) in emit_mov_i64() argument
126 if (imm64 >= 0xffffffffffff8000ULL || imm64 < 0x8000ULL) { in emit_mov_i64()
127 emit(ctx, daddiu, dst, MIPS_R_ZERO, (s16)imm64); in emit_mov_i64()
128 } else if (imm64 >= 0xffffffff80000000ULL || in emit_mov_i64()
129 (imm64 < 0x80000000 && imm64 > 0xffff)) { in emit_mov_i64()
130 emit(ctx, lui, dst, (s16)(imm64 >> 16)); in emit_mov_i64()
131 emit(ctx, ori, dst, dst, (u16)imm64 & 0xffff); in emit_mov_i64()
138 u16 half = imm64 >> (48 - 16 * k); in emit_mov_i64()
/linux-6.12.1/arch/parisc/net/
Dbpf_jit_comp64.c1002 u64 imm64 = (u64)insn1.imm << 32 | (u32)imm; in bpf_jit_emit_insn() local
1004 imm64 = (uintptr_t)dereference_function_descriptor((void*)imm64); in bpf_jit_emit_insn()
1005 emit_imm(rd, imm64, HPPA_REG_T2, ctx); in bpf_jit_emit_insn()
/linux-6.12.1/arch/arm64/net/
Dbpf_jit.h269 u64 imm64 = (sf) ? (u64)imm : (u64)(u32)imm; \
271 A64_VARIANT(sf), Rn, Rd, imm64); \
Dbpf_jit_comp.c1407 u64 imm64; in build_insn() local
1409 imm64 = (u64)insn1.imm << 32 | (u32)imm; in build_insn()
1411 emit_addr_mov_i64(dst, imm64, ctx); in build_insn()
1413 emit_a64_mov_i64(dst, imm64, ctx); in build_insn()
/linux-6.12.1/arch/powerpc/net/
Dbpf_jit_comp64.c430 u64 imm64; in bpf_jit_build_body() local
1065 imm64 = ((u64)(u32) insn[i].imm) | in bpf_jit_build_body()
1068 PPC_LI64(dst_reg, imm64); in bpf_jit_build_body()
/linux-6.12.1/arch/riscv/net/
Dbpf_jit_comp64.c1616 u64 imm64; in bpf_jit_emit_insn() local
1618 imm64 = (u64)insn1.imm << 32 | (u32)imm; in bpf_jit_emit_insn()
1621 ret = emit_addr(rd, imm64, extra_pass, ctx); in bpf_jit_emit_insn()
1625 emit_imm(rd, imm64, ctx); in bpf_jit_emit_insn()
/linux-6.12.1/arch/sparc/net/
Dbpf_jit_comp_64.c1246 u64 imm64; in build_insn() local
1248 imm64 = (u64)insn1.imm << 32 | (u32)imm; in build_insn()
1249 emit_loadimm64(imm64, dst, ctx); in build_insn()
/linux-6.12.1/arch/loongarch/net/
Dbpf_jit.c931 const u64 imm64 = (u64)(insn + 1)->imm << 32 | (u32)insn->imm; in build_insn() local
933 move_imm(ctx, dst, imm64, is32); in build_insn()
/linux-6.12.1/arch/s390/net/
Dbpf_jit_comp.c953 u64 imm64; in bpf_jit_insn() local
955 imm64 = (u64)(u32) insn[0].imm | ((u64)(u32) insn[1].imm) << 32; in bpf_jit_insn()
957 EMIT6_PCREL_RILB(0xc4080000, dst_reg, _EMIT_CONST_U64(imm64)); in bpf_jit_insn()
/linux-6.12.1/arch/x86/net/
Dbpf_jit_comp.c914 u64 imm64 = ((u64)imm32_hi << 32) | (u32)imm32_lo; in emit_mov_imm64() local
917 if (is_uimm32(imm64)) { in emit_mov_imm64()
925 } else if (is_simm32(imm64)) { in emit_mov_imm64()
/linux-6.12.1/lib/
Dtest_bpf.c467 static int __bpf_ld_imm64(struct bpf_insn insns[2], u8 reg, s64 imm64) in __bpf_ld_imm64() argument
469 struct bpf_insn tmp[] = {BPF_LD_IMM64(reg, imm64)}; in __bpf_ld_imm64()