/external/bcc/src/lua/bpf/ |
D | proto.lua | 227 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)
|
D | bpf.lua | 301 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/ |
D | genX_state.c | 282 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/u-boot/drivers/qe/ |
D | uec_phy.c | 131 u32 tmp_reg; in uec_write_phy_reg() local 151 tmp_reg = ((u32) mii_id << MIIMADD_PHY_ADDRESS_SHIFT) | mii_reg; in uec_write_phy_reg() 152 out_be32 (&ug_regs->miimadd, tmp_reg); in uec_write_phy_reg() 170 u32 tmp_reg; in uec_read_phy_reg() local 189 tmp_reg = ((u32) mii_id << MIIMADD_PHY_ADDRESS_SHIFT) | mii_reg; in uec_read_phy_reg() 190 out_be32 (&ug_regs->miimadd, tmp_reg); in uec_read_phy_reg()
|
/external/pcre/dist2/src/sljit/ |
D | sljitNativeARM_T2_32.c | 944 sljit_s32 arg, sljit_sw argw, sljit_s32 tmp_reg) in emit_op_mem() argument 950 SLJIT_ASSERT((arg & REG_MASK) != tmp_reg); in emit_op_mem() 956 FAIL_IF(push_inst32(compiler, MOV_WI | RD4(tmp_reg) | tmp)); in emit_op_mem() 957 …return push_inst32(compiler, sljit_mem32[flags] | MEM_IMM12 | RT4(reg) | RN4(tmp_reg) | (argw & 0x… in emit_op_mem() 960 FAIL_IF(load_immediate(compiler, tmp_reg, argw)); in emit_op_mem() 961 if (IS_2_LO_REGS(reg, tmp_reg) && sljit_mem16_imm5[flags]) in emit_op_mem() 962 return push_inst16(compiler, sljit_mem16_imm5[flags] | RD3(reg) | RN3(tmp_reg)); in emit_op_mem() 963 return push_inst32(compiler, sljit_mem32[flags] | MEM_IMM12 | RT4(reg) | RN4(tmp_reg)); in emit_op_mem() 979 push_inst32(compiler, ADD_WI | RD4(tmp_reg) | RN4(arg) | tmp); in emit_op_mem() 980 arg = tmp_reg; in emit_op_mem() [all …]
|
D | sljitNativeARM_32.c | 1335 sljit_s32 arg, sljit_sw argw, sljit_s32 tmp_reg) in emit_op_mem() argument 1341 SLJIT_ASSERT((arg & REG_MASK) != tmp_reg); in emit_op_mem() 1345 FAIL_IF(load_immediate(compiler, tmp_reg, argw & ~0xfff)); in emit_op_mem() 1349 FAIL_IF(load_immediate(compiler, tmp_reg, argw & ~0xff)); in emit_op_mem() 1353 return push_inst(compiler, EMIT_DATA_TRANSFER(flags, 1, reg, tmp_reg, in emit_op_mem() 1363 FAIL_IF(push_inst(compiler, ADD | RD(tmp_reg) | RN(arg) | RM(offset_reg) | (argw << 7))); in emit_op_mem() 1364 return push_inst(compiler, EMIT_DATA_TRANSFER(flags, 1, reg, tmp_reg, TYPE2_TRANSFER_IMM(0))); in emit_op_mem() 1378 FAIL_IF(push_inst(compiler, ADD | RD(tmp_reg) | RN(arg) | imm)); in emit_op_mem() 1380 arg = tmp_reg; in emit_op_mem() 1386 FAIL_IF(push_inst(compiler, SUB | RD(tmp_reg) | RN(arg) | imm)); in emit_op_mem() [all …]
|
D | sljitNativeARM_64.c | 812 sljit_s32 arg, sljit_sw argw, sljit_s32 tmp_reg) in emit_op_mem() argument 829 …FAIL_IF(push_inst(compiler, ADD | RD(tmp_reg) | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw << … in emit_op_mem() 830 return push_inst(compiler, STRBI | type | RT(reg) | RN(tmp_reg)); in emit_op_mem() 836 FAIL_IF(load_immediate(compiler, tmp_reg, argw & ~(0xfff << shift))); in emit_op_mem() 840 return push_inst(compiler, STRBI | type | RT(reg) | RN(tmp_reg) | (argw << 10)); in emit_op_mem() 849 FAIL_IF(push_inst(compiler, ADDI | (1 << 22) | RD(tmp_reg) | RN(arg) | ((argw >> 12) << 10))); in emit_op_mem() 852 return push_inst(compiler, STRBI | type | RT(reg) | RN(tmp_reg) | (argw << 10)); in emit_op_mem() 859 FAIL_IF(load_immediate(compiler, tmp_reg, argw)); in emit_op_mem() 861 return push_inst(compiler, STRB | type | RT(reg) | RN(arg) | RM(tmp_reg)); in emit_op_mem()
|
D | sljitNativePPC_common.c | 896 sljit_s32 arg, sljit_sw argw, sljit_s32 tmp_reg) in emit_op_mem() argument 912 …FAIL_IF(push_inst(compiler, RLWINM | S(OFFS_REG(arg)) | A(tmp_reg) | (argw << 11) | ((31 - argw) <… in emit_op_mem() 914 FAIL_IF(push_inst(compiler, RLDI(tmp_reg, OFFS_REG(arg), argw, 63 - argw, 1))); in emit_op_mem() 916 offs_reg = tmp_reg; in emit_op_mem() 933 FAIL_IF(load_immediate(compiler, tmp_reg, argw)); in emit_op_mem() 936 return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg) | B(tmp_reg)); in emit_op_mem() 955 FAIL_IF(push_inst(compiler, ADDIS | D(tmp_reg) | A(arg) | IMM(high_short >> 16))); in emit_op_mem() 956 return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(tmp_reg) | IMM(argw)); in emit_op_mem() 963 FAIL_IF(load_immediate(compiler, tmp_reg, argw)); in emit_op_mem() 966 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/ |
D | gen_mi_builder.h | 550 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/u-boot/arch/arm/mach-mvebu/serdes/axp/ |
D | high_speed_env_lib.c | 1206 u32 tmp_reg, tmp_pex_reg; in serdes_phy_config() local 1278 tmp_reg = in serdes_phy_config() 1289 if (tmp_reg == 0x1) { in serdes_phy_config()
|
/external/v8/src/codegen/ia32/ |
D | macro-assembler-ia32.cc | 1084 Register tmp_reg = scratch1; in PrepareForTailCall() local 1085 mov(tmp_reg, Operand(ebp, StandardFrameConstants::kCallerPCOffset)); in PrepareForTailCall() 1088 tmp_reg); in PrepareForTailCall() 1105 mov(tmp_reg, Operand(esp, count_reg, times_system_pointer_size, 0)); in PrepareForTailCall() 1106 mov(Operand(new_sp_reg, count_reg, times_system_pointer_size, 0), tmp_reg); in PrepareForTailCall()
|
/external/v8/src/codegen/x64/ |
D | macro-assembler-x64.cc | 2342 Register tmp_reg = scratch1; in PrepareForTailCall() local 2343 movq(tmp_reg, Operand(rbp, StandardFrameConstants::kCallerPCOffset)); in PrepareForTailCall() 2344 movq(Operand(rsp, 0), tmp_reg); in PrepareForTailCall() 2360 movq(tmp_reg, Operand(rsp, count_reg, times_system_pointer_size, 0)); in PrepareForTailCall() 2361 movq(Operand(new_sp_reg, count_reg, times_system_pointer_size, 0), tmp_reg); in PrepareForTailCall()
|
/external/v8/src/codegen/ppc/ |
D | macro-assembler-ppc.cc | 1330 Register tmp_reg = scratch1; in PrepareForTailCall() local 1332 addi(tmp_reg, callee_args_count, Operand(1)); // +1 for receiver in PrepareForTailCall() 1333 mtctr(tmp_reg); in PrepareForTailCall() 1335 LoadPU(tmp_reg, MemOperand(src_reg, -kSystemPointerSize)); in PrepareForTailCall() 1336 StorePU(tmp_reg, MemOperand(dst_reg, -kSystemPointerSize)); in PrepareForTailCall()
|
/external/v8/src/wasm/baseline/ia32/ |
D | liftoff-assembler-ia32.h | 1355 Register tmp_reg = no_reg; in EmitShiftOperation() local 1359 tmp_reg = assm->GetUnusedRegister(kGpReg, pinned).gp(); in EmitShiftOperation() 1360 assm->mov(tmp_reg, ecx); in EmitShiftOperation() 1361 if (src == ecx) src = tmp_reg; in EmitShiftOperation() 1371 if (tmp_reg.is_valid()) assm->mov(ecx, tmp_reg); in EmitShiftOperation()
|
/external/v8/src/codegen/s390/ |
D | macro-assembler-s390.cc | 1347 Register tmp_reg = scratch1; in PrepareForTailCall() local 1349 AddP(tmp_reg, callee_args_count, Operand(1)); // +1 for receiver in PrepareForTailCall() 1350 LoadRR(r1, tmp_reg); in PrepareForTailCall() 1352 LoadP(tmp_reg, MemOperand(src_reg, -kSystemPointerSize)); in PrepareForTailCall() 1353 StoreP(tmp_reg, MemOperand(dst_reg, -kSystemPointerSize)); in PrepareForTailCall()
|
/external/v8/src/codegen/arm/ |
D | macro-assembler-arm.cc | 1536 Register tmp_reg = scratch1; in PrepareForTailCall() local 1540 ldr(tmp_reg, MemOperand(src_reg, -kPointerSize, PreIndex)); in PrepareForTailCall() 1541 str(tmp_reg, MemOperand(dst_reg, -kPointerSize, PreIndex)); in PrepareForTailCall()
|
/external/v8/src/codegen/arm64/ |
D | macro-assembler-arm64.cc | 2068 Register tmp_reg = scratch1; in PrepareForTailCall() local 2072 Ldr(tmp_reg, MemOperand(src_reg, -kSystemPointerSize, PreIndex)); in PrepareForTailCall() 2073 Str(tmp_reg, MemOperand(dst_reg, -kSystemPointerSize, PreIndex)); in PrepareForTailCall()
|
/external/skia/src/core/ |
D | SkVM.cpp | 2189 Reg tmp_reg = (Reg)0; // This initial value won't matter... anything legal is fine. in jit() local 2201 tmp_reg = (Reg)(found - 1); in jit() 2211 return tmp_reg; in jit()
|
/external/pcre/dist2/src/ |
D | pcre2_jit_compile.c | 2049 int tmp_reg = status->tmp_regs[next_tmp_reg]; in delayed_mem_copy_move() local 2057 OP1(SLJIT_MOV, status->saved_tmp_regs[next_tmp_reg], 0, tmp_reg, 0); in delayed_mem_copy_move() 2060 …V, SLJIT_MEM1(status->store_bases[next_tmp_reg]), status->store_offsets[next_tmp_reg], tmp_reg, 0); in delayed_mem_copy_move() 2062 OP1(SLJIT_MOV, tmp_reg, 0, SLJIT_MEM1(load_base), load_offset); in delayed_mem_copy_move() 2073 int tmp_reg, saved_tmp_reg, i; in delayed_mem_copy_finish() local 2079 tmp_reg = status->tmp_regs[next_tmp_reg]; in delayed_mem_copy_finish() 2082 …V, SLJIT_MEM1(status->store_bases[next_tmp_reg]), status->store_offsets[next_tmp_reg], tmp_reg, 0); in delayed_mem_copy_finish() 2086 OP1(SLJIT_MOV, tmp_reg, 0, saved_tmp_reg, 0); in delayed_mem_copy_finish()
|
/external/v8/src/codegen/mips64/ |
D | macro-assembler-mips64.cc | 4720 Register tmp_reg = scratch1; in PrepareForTailCall() local 4726 Ld(tmp_reg, MemOperand(src_reg)); in PrepareForTailCall() 4727 Sd(tmp_reg, MemOperand(dst_reg)); in PrepareForTailCall()
|
/external/v8/src/codegen/mips/ |
D | macro-assembler-mips.cc | 4375 Register tmp_reg = scratch1; in PrepareForTailCall() local 4381 lw(tmp_reg, MemOperand(src_reg)); in PrepareForTailCall() 4382 sw(tmp_reg, MemOperand(dst_reg)); in PrepareForTailCall()
|