Home
last modified time | relevance | path

Searched refs:emit (Results 1 – 9 of 9) sorted by relevance

/arch/arm/net/
Dbpf_jit_32.c193 static inline void emit(u32 inst, struct jit_ctx *ctx) in emit() function
315 emit(ARM_LDR_I(rd, ARM_PC, imm_offset(val, ctx)), ctx); in emit_mov_i_no8m()
317 emit(ARM_MOVW(rd, val & 0xffff), ctx); in emit_mov_i_no8m()
319 emit(ARM_MOVT(rd, val >> 16), ctx); in emit_mov_i_no8m()
328 emit(ARM_MOV_I(rd, imm12), ctx); in emit_mov_i()
336 emit(ARM_BX(tgt_reg), ctx); in emit_bx_r()
338 emit(ARM_MOV_R(ARM_PC, tgt_reg), ctx); in emit_bx_r()
344 emit(ARM_MOV_R(ARM_LR, ARM_PC), ctx); in emit_blx_r()
347 emit(ARM_BLX_R(tgt_reg), ctx); in emit_blx_r()
371 emit(ARM_CMP_I(rn, 0), ctx); in emit_udivmod()
[all …]
/arch/arm64/net/
Dbpf_jit_comp.c75 static inline void emit(const u32 insn, struct jit_ctx *ctx) in emit() function
89 emit(A64_MOVZ(1, reg, tmp & 0xffff, shift), ctx); in emit_a64_mov_i64()
94 emit(A64_MOVK(1, reg, tmp & 0xffff, shift), ctx); in emit_a64_mov_i64()
108 emit(A64_MOVN(is64, reg, (u16)~lo, 0), ctx); in emit_a64_mov_i()
110 emit(A64_MOVN(is64, reg, (u16)~hi, 16), ctx); in emit_a64_mov_i()
111 emit(A64_MOVK(is64, reg, lo, 0), ctx); in emit_a64_mov_i()
114 emit(A64_MOVZ(is64, reg, lo, 0), ctx); in emit_a64_mov_i()
116 emit(A64_MOVK(is64, reg, hi, 16), ctx); in emit_a64_mov_i()
188 emit(A64_PUSH(A64_FP, A64_LR, A64_SP), ctx); in build_prologue()
189 emit(A64_MOV(1, A64_FP, A64_SP), ctx); in build_prologue()
[all …]
/arch/x86/entry/syscalls/
Dsyscalltbl.sh23 emit() { function
56 emit 64 "$nr" "$entry" "$compat"
60 emit 64 "$nr" "$entry" "$compat"
63 emit "$abi" "$nr" "$entry" "$compat"
/arch/sparc/net/
Dbpf_jit_comp_64.c246 static void emit(const u32 insn, struct jit_ctx *ctx) in emit() function
268 emit(SETHI(0, G0), ctx); in emit_nop()
273 emit(OR | RS1(G0) | RS2(from) | RD(to), ctx); in emit_reg_move()
279 emit(SETHI(K, reg), ctx); in emit_set_const()
280 emit(OR_LO(K, reg), ctx); in emit_set_const()
287 emit(SETHI(K, reg), ctx); in emit_set_const_sext()
288 emit(OR_LO(K, reg), ctx); in emit_set_const_sext()
293 emit(SETHI(hbits, reg), ctx); in emit_set_const_sext()
294 emit(XOR | IMMED | RS1(reg) | S13(lbits) | RD(reg), ctx); in emit_set_const_sext()
300 emit(opcode | RS1(dst) | RS2(src) | RD(dst), ctx); in emit_alu()
[all …]
/arch/s390/include/asm/
Druntime_instr.h39 __u32 emit : 1; member
/arch/x86/realmode/rm/
DMakefile50 LDFLAGS_realmode.elf := -m elf_i386 --emit-relocs -T
/arch/x86/
DMakefile52 LDFLAGS_vmlinux := --emit-relocs --discard-none
/arch/mips/
DMakefile100 LDFLAGS_vmlinux += --emit-relocs
/arch/s390/
DKconfig647 it will emit additional code to each function prolog to trigger