| /linux/arch/arm/net/ |
| H A D | bpf_jit_32.h | 167 #define _AL3_I(op, rd, rn, imm) ((op ## _I) | (rd) << 12 | (rn) << 16 | (imm)) argument 173 #define ARM_ADD_I(rd, rn, imm) _AL3_I(ARM_INST_ADD, rd, rn, imm) argument 174 #define ARM_ADDS_I(rd, rn, imm) _AL3_I(ARM_INST_ADDS, rd, rn, imm) argument 176 #define ARM_ADC_I(rd, rn, imm) _AL3_I(ARM_INST_ADC, rd, rn, imm) argument 180 #define ARM_AND_I(rd, rn, imm) _AL3_I(ARM_INST_AND, rd, rn, imm) argument 183 #define ARM_BIC_I(rd, rn, imm) _AL3_I(ARM_INST_BIC, rd, rn, imm) argument 190 #define ARM_CMP_I(rn, imm) _AL3_I(ARM_INST_CMP, 0, rn, imm) argument 193 #define ARM_EOR_I(rd, rn, imm) _AL3_I(ARM_INST_EOR, rd, rn, imm) argument 198 #define ARM_LDR_R_SI(rt, rn, rm, type, imm) \ argument 201 | (imm) << 7 | (type) << 5 | (rm)) [all …]
|
| /linux/arch/loongarch/kernel/ |
| H A D | inst.c | 19 unsigned int imm = insn.reg1i20_format.immediate; in simu_pc() local 28 regs->regs[rd] = pc + sign_extend64(imm << 2, 21); in simu_pc() 31 regs->regs[rd] = pc + sign_extend64(imm << 12, 31); in simu_pc() 34 regs->regs[rd] = pc + sign_extend64(imm << 18, 37); in simu_pc() 37 regs->regs[rd] = pc + sign_extend64(imm << 12, 31); in simu_pc() 50 unsigned int imm, imm_l, imm_h, rd, rj; in simu_branch() local 88 imm = insn.reg2i16_format.immediate; in simu_branch() 94 regs->csr_era = pc + sign_extend64(imm << 2, 17); in simu_branch() 100 regs->csr_era = pc + sign_extend64(imm << 2, 17); in simu_branch() 106 regs->csr_era = pc + sign_extend64(imm << in simu_branch() 333 larch_insn_gen_break(int imm) larch_insn_gen_break() argument 361 larch_insn_gen_lu12iw(enum loongarch_gpr rd,int imm) larch_insn_gen_lu12iw() argument 375 larch_insn_gen_lu32id(enum loongarch_gpr rd,int imm) larch_insn_gen_lu32id() argument 389 larch_insn_gen_lu52id(enum loongarch_gpr rd,enum loongarch_gpr rj,int imm) larch_insn_gen_lu52id() argument 403 larch_insn_gen_beq(enum loongarch_gpr rd,enum loongarch_gpr rj,int imm) larch_insn_gen_beq() argument 417 larch_insn_gen_bne(enum loongarch_gpr rd,enum loongarch_gpr rj,int imm) larch_insn_gen_bne() argument 431 larch_insn_gen_jirl(enum loongarch_gpr rd,enum loongarch_gpr rj,int imm) larch_insn_gen_jirl() argument [all...] |
| /linux/tools/include/linux/ |
| H A D | filter.h | 41 .imm = 0 }) 49 .imm = 0 }) 59 .imm = IMM }) 67 .imm = IMM }) 77 .imm = LEN }) 87 .imm = 0 }) 95 .imm = 0 }) 105 .imm = IMM }) 113 .imm = IMM }) 123 .imm [all...] |
| /linux/samples/bpf/ |
| H A D | bpf_insn.h | 16 .imm = 0 }) 24 .imm = 0 }) 34 .imm = IMM }) 42 .imm = IMM }) 52 .imm = 0 }) 60 .imm = 0 }) 70 .imm = IMM }) 78 .imm = IMM }) 90 .imm = (__u32) (IMM) }), \ 96 .imm = ((__u64) (IMM)) >> 32 }) [all …]
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | disasm.c | 26 insn->imm >= 0 && insn->imm < __BPF_FUNC_MAX_ID && in __func_get_name() 27 func_id_str[insn->imm]) in __func_get_name() 28 return func_id_str[insn->imm]; in __func_get_name() 39 snprintf(buff, len, "%+d", insn->imm); in __func_get_name() 148 insn->imm, insn->dst_reg); in print_bpf_bswap_insn() 157 insn->imm, insn->dst_reg); in is_sdiv_smod() 210 insn->src_reg, ((u32)insn->imm) >> 16, (u16)insn->imm); in print_bpf_insn() 229 insn->imm); in print_bpf_insn() 312 u64 imm = ((u64)(insn + 1)->imm << 32) | (u32)insn->imm; print_bpf_insn() local [all...] |
| /linux/kernel/bpf/ |
| H A D | disasm.c | 26 insn->imm >= 0 && insn->imm < __BPF_FUNC_MAX_ID && in __func_get_name() 27 func_id_str[insn->imm]) in __func_get_name() 28 return func_id_str[insn->imm]; in __func_get_name() 39 snprintf(buff, len, "%+d", insn->imm); in __func_get_name() 148 insn->imm, insn->dst_reg); in print_bpf_end_insn() 157 insn->imm, insn->dst_reg); in print_bpf_bswap_insn() 210 insn->src_reg, ((u32)insn->imm) >> 16, (u16)insn->imm); in print_bpf_insn() 229 insn->imm); in print_bpf_insn() 328 u64 imm = ((u64)(insn + 1)->imm << 32) | (u32)insn->imm; print_bpf_insn() local [all...] |
| H A D | fixups.c | 24 insn->imm == BPF_CMPXCHG; in is_cmpxchg_insn() 36 if (insn->imm == 1) in is_addr_space_cast32() 40 if (insn->imm == 1 << 16) in is_addr_space_cast32() 76 if ((class == BPF_ALU || class == BPF_ALU64) && op == BPF_END && insn->imm != 64) in bpf_is_reg64() 131 if (res->func_id != insn->imm) 133 } else if ((s32)BPF_CALL_IMM(res->addr) != insn->imm) { in bpf_jit_find_kfunc_model() 147 ret = bpf_add_kfunc_call(env, insn->imm, insn->off); in bpf_jit_find_kfunc_model() 159 int start = idx + insn->imm + 1, subprog; in set_kfunc_desc_imm() 365 s64 off = insn->imm, off_min = S32_MIN; in adjust_jmp_off() 390 insn->imm in adjust_jmp_off() 366 s32 imm; adjust_jmp_off() local [all...] |
| /linux/arch/riscv/net/ |
| H A D | bpf_jit.h | 273 u32 imm; in rv_j_insn() 275 imm = (imm20_1 & 0x80000) | ((imm20_1 & 0x3ff) << 9) | in rv_j_insn() 278 return (imm << 12) | (rd << 7) | opcode; in rv_amo_insn() 298 u32 imm; in rv_ci_insn() 300 imm = ((imm6 & 0x20) << 7) | ((imm6 & 0x1f) << 2); in rv_css_insn() 301 return (funct3 << 13) | (rd << 7) | op | imm; in rv_css_insn() 336 u32 imm; in rv_cb_insn() 338 imm = ((imm6 & 0x20) << 7) | ((imm6 & 0x1f) << 2); 339 return (funct3 << 13) | (funct2 << 10) | ((rd & 0x7) << 7) | op | imm; 630 u32 imm; in rvc_addi4spn() 269 u32 imm; rv_j_insn() local 294 u32 imm; rv_ci_insn() local 332 u32 imm; rv_cb_insn() local 626 u32 imm; rvc_addi4spn() local 663 u32 imm; rvc_addi16sp() local 717 u32 imm; rvc_lwsp() local 745 u32 imm; rvc_swsp() local 961 u32 imm; rvc_ldsp() local 969 u32 imm; rvc_sdsp() local 987 emit_jalr(u8 rd,u8 rs,s32 imm,struct rv_jit_context * ctx) emit_jalr() argument 1013 emit_addi(u8 rd,u8 rs,s32 imm,struct rv_jit_context * ctx) emit_addi() argument 1026 emit_li(u8 rd,s32 imm,struct rv_jit_context * ctx) emit_li() argument 1034 emit_lui(u8 rd,s32 imm,struct rv_jit_context * ctx) emit_lui() argument 1042 emit_slli(u8 rd,u8 rs,s32 imm,struct rv_jit_context * ctx) emit_slli() argument 1050 emit_andi(u8 rd,u8 rs,s32 imm,struct rv_jit_context * ctx) emit_andi() argument 1058 emit_srli(u8 rd,u8 rs,s32 imm,struct rv_jit_context * ctx) emit_srli() argument 1066 emit_srai(u8 rd,u8 rs,s32 imm,struct rv_jit_context * ctx) emit_srai() argument 1151 emit_addiw(u8 rd,u8 rs,s32 imm,struct rv_jit_context * ctx) emit_addiw() argument 1236 emit_bswap(u8 rd,s32 imm,struct rv_jit_context * ctx) emit_bswap() argument [all...] |
| H A D | bpf_jit_comp32.c | 111 static void emit_imm(const s8 rd, s32 imm, struct rv_jit_context *ctx) in emit_imm() argument 113 u32 upper = (imm + (1 << 11)) >> 12; in emit_imm() 114 u32 lower = imm & 0xfff; in emit_imm() 124 static void emit_imm32(const s8 *rd, s32 imm, struct rv_jit_context *ctx) in emit_imm32() argument 127 emit_imm(lo(rd), imm, ctx); in emit_imm32() 130 if (imm >= 0) in emit_imm32() 243 static void emit_alu_i64(const s8 *dst, s32 imm, in emit_alu_i64() argument 251 emit_imm32(rd, imm, ctx); in emit_alu_i64() 254 if (is_12b_int(imm)) { in emit_alu_i64() 255 emit(rv_andi(lo(rd), lo(rd), imm), ctx); in emit_alu_i64() [all …]
|
| H A D | bpf_jit_comp64.c | 20 /* imm that allows emit_imm to emit max count insns */ 156 /* Emit variable-length instructions for 32-bit and 64-bit imm */ 512 static void emit_st(u8 rd, s16 off, s32 imm, u8 size, struct rv_jit_context *ctx) in emit_st() 514 emit_imm(RV_REG_T1, imm, ctx); in emit_st() 529 static void emit_stack_arg_st(s16 off, s32 imm, struct rv_jit_context *ctx) in emit_stx() 534 emit_imm(RV_REG_A5 + idx, imm, ctx); in emit_atomic_ld_st() 538 emit_imm(RV_REG_T1, imm, ctx); in emit_atomic_ld_st() local 574 s32 imm = insn->imm; in emit_atomic_ld_st() 577 switch (imm) { in emit_atomic_rmw() 501 emit_st(u8 rd,s16 off,s32 imm,u8 size,struct rv_jit_context * ctx) emit_st() argument 581 s32 imm = insn->imm; emit_atomic_rmw() local 1392 s32 imm = insn->imm; bpf_jit_emit_insn() local 2188 bpf_jit_inlines_helper_call(s32 imm) bpf_jit_inlines_helper_call() argument [all...] |
| /linux/arch/mips/net/ |
| H A D | bpf_jit_comp32.c | 173 /* dst = imm (sign-extended) */ 174 static void emit_mov_se_i64(struct jit_context *ctx, const u8 dst[], s32 imm) in emit_mov_se_i64() argument 176 emit_mov_i(ctx, lo(dst), imm); in emit_mov_se_i64() 177 if (imm < 0) in emit_mov_se_i64() 265 const u8 dst[], s32 imm, u8 op) 270 * ADD/SUB with all but the max negative imm can be handled by in emit_alu_r64() 271 * inverting the operation and the imm value, saving one insn. in emit_alu_r64() 273 if (imm > S32_MIN && imm < 0) in emit_alu_r64() 277 imm in emit_alu_r64() 202 emit_alu_i64(struct jit_context * ctx,const u8 dst[],s32 imm,u8 op) emit_alu_i64() argument 322 emit_shift_i64(struct jit_context * ctx,const u8 dst[],u32 imm,u8 op) emit_shift_i64() argument 423 emit_mul_i64(struct jit_context * ctx,const u8 dst[],s32 imm) emit_mul_i64() argument 991 emit_sltiu_r64(struct jit_context * ctx,u8 rd,const u8 rs[],s64 imm) emit_sltiu_r64() argument 1026 emit_slti_r64(struct jit_context * ctx,u8 rd,const u8 rs[],s64 imm) emit_slti_r64() argument 1093 emit_jmp_i64(struct jit_context * ctx,const u8 dst[],s32 imm,s32 off,u8 op) emit_jmp_i64() argument 1471 s32 imm = insn->imm; build_insn() local [all...] |
| H A D | bpf_jit_comp64.c | 175 /* dst = imm (64-bit) */ in emit_alu_i64() 210 static void emit_alu_i64(struct jit_context *ctx, u8 dst, s32 imm, u8 op) in emit_alu_r64() 213 /* dst = dst | imm */ in emit_alu_r64() 215 emit(ctx, ori, dst, dst, (u16)imm); in emit_alu_r64() 217 /* dst = dst ^ imm */ in emit_alu_r64() 219 emit(ctx, xori, dst, dst, (u16)imm); in emit_alu_r64() 225 /* dst = dst << imm */ in emit_alu_r64() 227 emit(ctx, dsll_safe, dst, dst, imm); in emit_alu_r64() 229 /* dst = dst >> imm */ in emit_alu_r64() 231 emit(ctx, dsrl_safe, dst, dst, imm); in emit_alu_r64() 158 emit_alu_i64(struct jit_context * ctx,u8 dst,s32 imm,u8 op) emit_alu_i64() argument 641 s32 imm = insn->imm; build_insn() local [all...] |
| /linux/arch/arm64/net/ |
| H A D | bpf_jit.h | 73 #define A64_LS_IMM(Rt, Rn, imm, size, type) \ argument 74 aarch64_insn_gen_load_store_imm(Rt, Rn, imm, \ 77 #define A64_STRBI(Wt, Xn, imm) A64_LS_IMM(Wt, Xn, imm, 8, STORE) argument 78 #define A64_LDRBI(Wt, Xn, imm) A64_LS_IMM(Wt, Xn, imm, 8, LOAD) argument 79 #define A64_LDRSBI(Xt, Xn, imm) A64_LS_IMM(Xt, Xn, imm, 8, SIGNED_LOAD) argument 80 #define A64_STRHI(Wt, Xn, imm) A64_LS_IMM(Wt, Xn, imm, 16, STORE) argument 81 #define A64_LDRHI(Wt, Xn, imm) A64_LS_IMM(Wt, Xn, imm, 16, LOAD) argument 82 #define A64_LDRSHI(Xt, Xn, imm) A64_LS_IMM(Xt, Xn, imm, 16, SIGNED_LOAD) argument 83 #define A64_STR32I(Wt, Xn, imm) A64_LS_IMM(Wt, Xn, imm, 32, STORE) argument 84 #define A64_LDR32I(Wt, Xn, imm) A64_LS_IMM(Wt, Xn, imm, 32, LOAD) argument [all …]
|
| H A D | bpf_jit_comp.c | 37 #define check_imm(bits, imm) do { \ 38 if ((((imm) > 0) && ((imm) >> ((bits) - 1))) || \ 39 (((imm) < 0) && (~(imm) >> ((bits) - 1)))) { \ 40 pr_info("[%2d] imm=%d(0x%x) out of range\n", \ 41 i, imm, imm); \ 45 #define check_imm19(imm) check_imm(19, imm) argument 36 check_imm(bits,imm) global() argument 44 check_imm19(imm) global() argument 289 is_addsub_imm(u32 imm) is_addsub_imm() argument 296 emit_a64_add_i(const bool is64,const int dst,const int src,const int tmp,const s32 imm,struct jit_ctx * ctx) emit_a64_add_i() argument 721 const s32 imm = insn->imm; emit_atomic_ld_st() local 870 const s32 imm = insn->imm; emit_ll_sc_atomic() local 1249 emit_stack_arg_store_imm(s32 imm,s16 bpf_off,const u8 tmp,struct jit_ctx * ctx) emit_stack_arg_store_imm() argument 1317 const s32 imm = insn->imm; build_insn() local 3343 bpf_jit_inlines_helper_call(s32 imm) bpf_jit_inlines_helper_call() argument [all...] |
| /linux/arch/arm/probes/kprobes/ |
| H A D | checkers-common.c | 34 int imm = insn & 0xff; in checker_stack_use_imm_0xx() local 35 asi->stack_space = imm; in checker_stack_use_imm_0xx() 47 int imm = insn & 0xff; in checker_stack_use_t32strd() local 48 asi->stack_space = imm << 2; in checker_stack_use_t32strd() 56 int imm = ((insn & 0xf00) >> 4) + (insn & 0xf); in checker_stack_use_imm_x0x() local 57 asi->stack_space = imm; in checker_stack_use_imm_x0x() 66 int imm = insn & 0xfff; in checker_stack_use_imm_xxx() local 67 asi->stack_space = imm; in checker_stack_use_imm_xxx()
|
| /linux/arch/riscv/kernel/ |
| H A D | alternative.c | 82 s32 imm; in riscv_alternative_fix_auipc_jalr() 85 imm = riscv_insn_extract_utype_itype_imm(auipc_insn, jalr_insn); in riscv_alternative_fix_auipc_jalr() 86 imm -= patch_offset; in riscv_alternative_fix_auipc_jalr() 89 riscv_insn_insert_utype_itype_imm(&call[0], &call[1], imm); in riscv_alternative_fix_auipc_jalr() 102 s32 imm; in riscv_alternative_fix_jal() 105 imm = riscv_insn_extract_jtype_imm(jal_insn); in riscv_alternative_fix_jal() 106 imm -= patch_offset; in riscv_alternative_fix_jal() 109 riscv_insn_insert_jtype_imm(&jal_insn, imm); in riscv_alternative_fix_offsets() 149 s32 imm = riscv_insn_extract_jtype_imm(insn); in riscv_alternative_fix_offsets() 152 if ((alt_ptr + i * sizeof(u32) + imm) > 81 s32 imm; riscv_alternative_fix_auipc_jalr() local 96 s32 imm; riscv_alternative_fix_jal() local 139 s32 imm = riscv_insn_extract_jtype_imm(insn); riscv_alternative_fix_offsets() local [all...] |
| /linux/arch/arm64/lib/ |
| H A D | insn.c | 114 u32 insn, u64 imm) in aarch64_insn_encode_immediate() argument 125 immlo = (imm & ADR_IMM_LOMASK) << ADR_IMM_LOSHIFT; in aarch64_insn_encode_immediate() 126 imm >>= ADR_IMM_HILOSPLIT; in aarch64_insn_encode_immediate() 127 immhi = (imm & ADR_IMM_HIMASK) << ADR_IMM_HISHIFT; in aarch64_insn_encode_immediate() 128 imm = immlo | immhi; in aarch64_insn_encode_immediate() 142 insn |= (imm & mask) << shift; in aarch64_insn_encode_immediate() 415 unsigned int imm, in aarch64_insn_gen_load_store_imm() argument 428 if (imm & ~(BIT(12 + shift) - BIT(shift))) { in aarch64_insn_gen_load_store_imm() 429 pr_err("%s: invalid imm: %d\n", __func__, imm); in aarch64_insn_gen_load_store_imm() 433 imm >>= shift; in aarch64_insn_gen_load_store_imm() [all …]
|
| /linux/arch/loongarch/net/ |
| H A D | bpf_jit.h | 122 static inline void move_imm(struct jit_ctx *ctx, enum loongarch_gpr rd, long imm) in move_addr() 127 if (imm == 0) { in move_addr() 133 if (is_signed_imm12(imm)) { in move_addr() 134 emit_insn(ctx, addiw, rd, LOONGARCH_GPR_ZERO, imm); in move_addr() 139 if (is_unsigned_imm12(imm)) { 140 emit_insn(ctx, ori, rd, LOONGARCH_GPR_ZERO, imm); in move_imm() argument 145 imm_63_52 = (imm >> 52) & 0xfff; in move_imm() 146 imm_51_0 = imm & 0xfffffffffffff; in move_imm() 153 imm_31_12 = (imm >> 12) & 0xfffff; in move_imm() 157 imm_11_0 = imm in move_imm() [all...] |
| /linux/arch/s390/net/ |
| H A D | bpf_jit_comp.c | 200 #define EMIT4_IMM(op, b1, imm) \ argument 202 unsigned int __imm = (imm) & 0xffff; \ 260 #define EMIT6_PCREL_RIEC(op1, op2, b1, imm, mask, target) \ argument 264 (rel & 0xffff), (op2) | ((imm) & 0xff) << 8); \ 266 BUILD_BUG_ON(((unsigned long) (imm)) > 0xff); \ 307 #define _EMIT6_IMM(op, imm) \ argument 309 unsigned int __imm = (imm); \ 313 #define EMIT6_IMM(op, b1, imm) \ argument 315 _EMIT6_IMM((op) | reg_high(b1) << 16, imm); \ 958 s32 imm in bpf_jit_insn() 950 s32 imm = insn->imm; bpf_jit_insn() local 2545 emit_store_stack_imm64(struct bpf_jit * jit,int tmp_reg,int stack_off,u64 imm) emit_store_stack_imm64() argument 3107 bpf_jit_inlines_helper_call(s32 imm) bpf_jit_inlines_helper_call() argument [all...] |
| /linux/arch/parisc/net/ |
| H A D | bpf_jit_comp32.c | 141 static void emit_imm(const s8 rd, s32 imm, struct hppa_jit_context *ctx) in emit_imm() argument 143 u32 lower = im11(imm); in emit_imm() 146 if (OPTIMIZE_HPPA && relative_bits_ok(imm, 14)) { in emit_imm() 147 emit(hppa_ldi(imm, rd), ctx); in emit_imm() 150 emit(hppa_ldil(imm, rd), ctx); in emit_imm() 156 static void emit_imm32(const s8 *rd, s32 imm, struct hppa_jit_context *ctx) in emit_imm32() argument 160 emit_imm(lo(rd), imm, ctx); in emit_imm32() 164 if (imm >= 0) in emit_imm32() 423 static void emit_alu_i64(const s8 *dst, s32 imm, in emit_alu_i64() 434 /* dst = dst OP imm */ in emit_alu_i64() 421 emit_alu_i64(const s8 * dst,s32 imm,struct hppa_jit_context * ctx,const u8 op) emit_alu_i64() argument 509 emit_alu_i32(const s8 * dst,s32 imm,struct hppa_jit_context * ctx,const u8 op) emit_alu_i32() argument 1124 s32 imm = insn->imm; bpf_jit_emit_insn() local [all...] |
| H A D | bpf_jit_comp64.c | 134 /* Emit variable-length instructions for 32-bit imm */ 135 static void emit_imm32(u8 rd, s32 imm, struct hppa_jit_context *ctx) in emit_imm32() argument 137 u32 lower = im11(imm); in emit_imm32() 140 if (OPTIMIZE_HPPA && relative_bits_ok(imm, 14)) { in emit_imm32() 141 emit(hppa_ldi(imm, rd), ctx); in emit_imm32() 144 if (OPTIMIZE_HPPA && lower == imm) { in emit_imm32() 148 emit(hppa_ldil(imm, rd), ctx); in emit_imm32() 159 /* Emit variable-length instructions for 64-bit imm */ 160 static void emit_imm(u8 rd, s64 imm, u8 tmpreg, struct hppa_jit_context *ctx) in emit_imm() argument 165 emit_imm32(rd, imm, ct in emit_imm() 602 s32 imm = insn->imm; bpf_jit_emit_insn() local [all...] |
| /linux/arch/loongarch/include/asm/ |
| H A D | inst.h | 467 /* addi.w / addi.d $sp, $sp, -imm */ in is_stack_alloc_ins() 528 u32 larch_insn_gen_break(int imm); 533 u32 larch_insn_gen_lu12iw(enum loongarch_gpr rd, int imm); 534 u32 larch_insn_gen_lu32id(enum loongarch_gpr rd, int imm); 535 u32 larch_insn_gen_lu52id(enum loongarch_gpr rd, enum loongarch_gpr rj, int imm); 536 u32 larch_insn_gen_beq(enum loongarch_gpr rd, enum loongarch_gpr rj, int imm); 537 u32 larch_insn_gen_bne(enum loongarch_gpr rd, enum loongarch_gpr rj, int imm); 538 u32 larch_insn_gen_beqz(enum loongarch_gpr rj, int imm); 539 u32 larch_insn_gen_bnez(enum loongarch_gpr rj, int imm); 540 u32 larch_insn_gen_jirl(enum loongarch_gpr rd, enum loongarch_gpr rj, int imm); in signed_imm_check() 562 __emit_break(imm) DEF_EMIT_REG0I15_FORMAT() argument [all...] |
| /linux/include/linux/ |
| H A D | filter.h | 117 .imm = 0 }) 128 .imm = 0 }) 141 .imm = IMM }) 151 .imm = IMM }) 163 .imm = LEN }) 173 .imm = LEN }) 183 .imm = 0 }) 191 .imm = 0 }) 205 .imm = 0 }) in insn_is_mov_percpu_addr() 220 .imm [all...] |
| /linux/arch/sh/kernel/ |
| H A D | disassemble.c | 300 int imm = 0; in print_sh_insn() local 317 imm = (nibs[2] << 4) | (nibs[3]); in print_sh_insn() 318 if (imm & 0x80) in print_sh_insn() 319 imm |= ~0xff; in print_sh_insn() 320 imm = ((char)imm) * 2 + 4 ; in print_sh_insn() 323 imm = ((nibs[1]) << 8) | (nibs[2] << 4) | (nibs[3]); in print_sh_insn() 324 if (imm & 0x800) in print_sh_insn() 325 imm |= ~0xfff; in print_sh_insn() 326 imm = imm * 2 + 4; in print_sh_insn() 329 imm = nibs[3]; in print_sh_insn() [all …]
|
| /linux/Documentation/bpf/standardization/ |
| H A D | instruction-set.rst | 166 | imm | 209 **imm** 212 Note that the contents of multi-byte fields ('offset' and 'imm') are 218 opcode offset imm assembly 240 | imm | 258 **imm** 308 K 0 use 32-bit 'imm' value as source operand 376 dst = (u32) dst ^ (u32) imm 380 dst = dst ^ imm 392 'imm' is interpreted as a 32-bit unsigned value. For ``ALU64``, [all …]
|