Home
last modified time | relevance | path

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

/external/bcc/src/lua/bpf/
Dproto.lua227 local dst_reg, tmp_reg
230 tmp_reg = dst_reg -- Use target register to avoid copy
231 e.emit(BPF.LD + BPF.ABS + e.const_width[ffi.sizeof(type)], tmp_reg, 0, 0, d.off + off or 0)
233 tmp_reg = e.vreg(e.tmpvar, 0, true, type) -- Reserve R0 for temporary relative offset
235 e.emit(BPF.LD + BPF.IND + e.const_width[ffi.sizeof(type)], tmp_reg, dst_reg, 0, off or 0)
239 e.emit(BPF.ALU + BPF.AND + BPF.K, tmp_reg, 0, 0, mask)
247 e.emit(BPF.ALU + op + BPF.K, tmp_reg, 0, 0, shift)
250 if dst_reg ~= tmp_reg then
251 e.emit(BPF.ALU + BPF.ADD + BPF.X, dst_reg, tmp_reg, 0, 0)
Dbpf.lua301 local tmp_reg = reg_alloc(stackslots, 1) -- Clone variable in tmp register
302 emit(BPF.ALU64 + BPF.MOV + BPF.X, tmp_reg, src_reg, 0, 0)
303 vderef(tmp_reg, tmp_reg, V[a])
304 src_reg = tmp_reg -- Materialize and dereference it
497 local tmp_reg = vreg(stackslots, 0, true, builtins.width_type(w)) -- Reserve R0
498 emit(BPF.LD + BPF.ABS + const_width[4], tmp_reg, 0, 0, off + 4)
500 emit(BPF.ALU + BPF.END + BPF.TO_BE, tmp_reg, 0, 0, 32)
1110 local tmp_reg = 0
1113 tmp_reg = reg
1120 vreg(i, tmp_reg) -- Load to TMP register (not saved)
/external/mesa3d/src/intel/vulkan/
DgenX_state.c282 UNUSED uint32_t tmp_reg; in genX() local
284 anv_pack_struct(&tmp_reg, GENX(CS_DEBUG_MODE2), in genX()
289 lri.DataDWord = tmp_reg; in genX()
292 anv_pack_struct(&tmp_reg, GENX(INSTPM), in genX()
297 lri.DataDWord = tmp_reg; in genX()
/external/pcre/dist2/src/sljit/
DsljitNativeARM_T2_32.c968 sljit_s32 arg, sljit_sw argw, sljit_s32 tmp_reg) in emit_op_mem() argument
974 SLJIT_ASSERT((arg & REG_MASK) != tmp_reg); in emit_op_mem()
980 FAIL_IF(push_inst32(compiler, MOV_WI | RD4(tmp_reg) | tmp)); in emit_op_mem()
981 …return push_inst32(compiler, sljit_mem32[flags] | MEM_IMM12 | RT4(reg) | RN4(tmp_reg) | (argw & 0x… in emit_op_mem()
984 FAIL_IF(load_immediate(compiler, tmp_reg, argw)); in emit_op_mem()
985 if (IS_2_LO_REGS(reg, tmp_reg) && sljit_mem16_imm5[flags]) in emit_op_mem()
986 return push_inst16(compiler, sljit_mem16_imm5[flags] | RD3(reg) | RN3(tmp_reg)); in emit_op_mem()
987 return push_inst32(compiler, sljit_mem32[flags] | MEM_IMM12 | RT4(reg) | RN4(tmp_reg)); in emit_op_mem()
1003 push_inst32(compiler, ADD_WI | RD4(tmp_reg) | RN4(arg) | tmp); in emit_op_mem()
1004 arg = tmp_reg; in emit_op_mem()
[all …]
DsljitNativeARM_32.c1445 sljit_s32 arg, sljit_sw argw, sljit_s32 tmp_reg) in emit_op_mem() argument
1451 SLJIT_ASSERT((arg & REG_MASK) != tmp_reg); in emit_op_mem()
1455 FAIL_IF(load_immediate(compiler, tmp_reg, argw & ~0xfff)); in emit_op_mem()
1459 FAIL_IF(load_immediate(compiler, tmp_reg, argw & ~0xff)); in emit_op_mem()
1463 return push_inst(compiler, EMIT_DATA_TRANSFER(flags, 1, reg, tmp_reg, in emit_op_mem()
1473 FAIL_IF(push_inst(compiler, ADD | RD(tmp_reg) | RN(arg) | RM(offset_reg) | (argw << 7))); in emit_op_mem()
1474 return push_inst(compiler, EMIT_DATA_TRANSFER(flags, 1, reg, tmp_reg, TYPE2_TRANSFER_IMM(0))); in emit_op_mem()
1488 FAIL_IF(push_inst(compiler, ADD | RD(tmp_reg) | RN(arg) | imm)); in emit_op_mem()
1490 arg = tmp_reg; in emit_op_mem()
1496 FAIL_IF(push_inst(compiler, SUB | RD(tmp_reg) | RN(arg) | imm)); in emit_op_mem()
[all …]
DsljitNativeARM_64.c853 sljit_s32 arg, sljit_sw argw, sljit_s32 tmp_reg) in emit_op_mem() argument
870 …FAIL_IF(push_inst(compiler, ADD | RD(tmp_reg) | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw << … in emit_op_mem()
871 return push_inst(compiler, STRBI | type | RT(reg) | RN(tmp_reg)); in emit_op_mem()
877 FAIL_IF(load_immediate(compiler, tmp_reg, argw & ~(0xfff << shift))); in emit_op_mem()
881 return push_inst(compiler, STRBI | type | RT(reg) | RN(tmp_reg) | (argw << 10)); in emit_op_mem()
890 FAIL_IF(push_inst(compiler, ADDI | (1 << 22) | RD(tmp_reg) | RN(arg) | ((argw >> 12) << 10))); in emit_op_mem()
893 return push_inst(compiler, STRBI | type | RT(reg) | RN(tmp_reg) | (argw << 10)); in emit_op_mem()
900 FAIL_IF(load_immediate(compiler, tmp_reg, argw)); in emit_op_mem()
902 return push_inst(compiler, STRB | type | RT(reg) | RN(arg) | RM(tmp_reg)); in emit_op_mem()
DsljitNativePPC_common.c987 sljit_s32 arg, sljit_sw argw, sljit_s32 tmp_reg) in emit_op_mem() argument
1003 …FAIL_IF(push_inst(compiler, RLWINM | S(OFFS_REG(arg)) | A(tmp_reg) | (argw << 11) | ((31 - argw) <… in emit_op_mem()
1005 FAIL_IF(push_inst(compiler, RLDI(tmp_reg, OFFS_REG(arg), argw, 63 - argw, 1))); in emit_op_mem()
1007 offs_reg = tmp_reg; in emit_op_mem()
1024 FAIL_IF(load_immediate(compiler, tmp_reg, argw)); in emit_op_mem()
1027 return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg) | B(tmp_reg)); in emit_op_mem()
1046 FAIL_IF(push_inst(compiler, ADDIS | D(tmp_reg) | A(arg) | IMM(high_short >> 16))); in emit_op_mem()
1047 return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(tmp_reg) | IMM(argw)); in emit_op_mem()
1054 FAIL_IF(load_immediate(compiler, tmp_reg, argw)); in emit_op_mem()
1057 return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg) | B(tmp_reg)); in emit_op_mem()
/external/mesa3d/src/intel/common/
Dgen_mi_builder.h550 struct gen_mi_value tmp_reg = gen_mi_reg32(0x2440); /* GEN7_3DPRIM_BASE_VERTEX */ in gen_mi_memcpy() local
551 gen_mi_store(b, tmp_reg, src_val); in gen_mi_memcpy()
552 gen_mi_store(b, dst_val, tmp_reg); in gen_mi_memcpy()
/external/pcre/dist2/src/
Dpcre2_jit_compile.c2273 int tmp_reg = status->tmp_regs[next_tmp_reg]; in delayed_mem_copy_move() local
2281 OP1(SLJIT_MOV, status->saved_tmp_regs[next_tmp_reg], 0, tmp_reg, 0); in delayed_mem_copy_move()
2284 …V, SLJIT_MEM1(status->store_bases[next_tmp_reg]), status->store_offsets[next_tmp_reg], tmp_reg, 0); in delayed_mem_copy_move()
2286 OP1(SLJIT_MOV, tmp_reg, 0, SLJIT_MEM1(load_base), load_offset); in delayed_mem_copy_move()
2297 int tmp_reg, saved_tmp_reg, i; in delayed_mem_copy_finish() local
2303 tmp_reg = status->tmp_regs[next_tmp_reg]; in delayed_mem_copy_finish()
2306 …V, SLJIT_MEM1(status->store_bases[next_tmp_reg]), status->store_offsets[next_tmp_reg], tmp_reg, 0); in delayed_mem_copy_finish()
2310 OP1(SLJIT_MOV, tmp_reg, 0, saved_tmp_reg, 0); in delayed_mem_copy_finish()