Home
last modified time | relevance | path

Searched refs:branch_offset (Results 1 - 23 of 23) sorted by relevance

/third_party/jerryscript/jerry-core/vm/
H A Dvm-stack.c130 uint32_t branch_offset = *branch_offset_p; in vm_decode_branch_offset() local
138 branch_offset <<= 8; in vm_decode_branch_offset()
139 branch_offset |= *(++branch_offset_p); in vm_decode_branch_offset()
144 branch_offset <<= 8; in vm_decode_branch_offset()
145 branch_offset |= *(++branch_offset_p); in vm_decode_branch_offset()
150 return branch_offset; in vm_decode_branch_offset()
190 uint32_t branch_offset; in vm_stack_find_finally() local
218 branch_offset = vm_decode_branch_offset (byte_code_p + 2, in vm_stack_find_finally()
223 branch_offset += (uint32_t) (byte_code_p - frame_ctx_p->byte_code_start_p); in vm_stack_find_finally()
225 vm_stack_top_p[-1] = VM_CREATE_CONTEXT (VM_CONTEXT_CATCH, branch_offset); in vm_stack_find_finally()
[all...]
H A Dvm.c987 int32_t branch_offset = 0; in vm_loop() local
1101 branch_offset = *(byte_code_p++); in vm_loop()
1105 branch_offset <<= 8; in vm_loop()
1106 branch_offset |= *(byte_code_p++); in vm_loop()
1110 branch_offset <<= 8; in vm_loop()
1111 branch_offset |= *(byte_code_p++); in vm_loop()
1148 branch_offset = -branch_offset; in vm_loop()
2058 byte_code_p = byte_code_start_p + branch_offset; in vm_loop()
2727 byte_code_p = byte_code_start_p + branch_offset; in vm_loop()
[all...]
/third_party/mesa3d/src/panfrost/bifrost/
H A Ddisassemble.h38 bi_disasm_fma(FILE *fp, unsigned bits, struct bifrost_regs *srcs, struct bifrost_regs *next_regs, unsigned staging_register, unsigned branch_offset, struct bi_constants *consts, bool first);
40 void bi_disasm_add(FILE *fp, unsigned bits, struct bifrost_regs *srcs, struct bifrost_regs *next_regs, unsigned staging_register, unsigned branch_offset, struct bi_constants *consts, bool first);
45 void dump_src(FILE *fp, unsigned src, struct bifrost_regs srcs, unsigned branch_offset, struct bi_constants *consts, bool isFMA);
H A Ddisassemble.c243 dump_pc_imm(FILE *fp, uint64_t imm, unsigned branch_offset, enum bi_constmod mod, bool high32) in dump_pc_imm() argument
279 fprintf(fp, "clause_%" PRId64, branch_offset + (offs / 16)); in dump_pc_imm()
304 static void dump_fau_src(FILE *fp, struct bifrost_regs srcs, unsigned branch_offset, struct bi_constants *consts, bool high32) in dump_fau_src() argument
314 dump_pc_imm(fp, imm, branch_offset, consts->mods[idx], high32); in dump_fau_src()
365 dump_src(FILE *fp, unsigned src, struct bifrost_regs srcs, unsigned branch_offset, struct bi_constants *consts, bool isFMA) in dump_src() argument
384 dump_fau_src(fp, srcs, branch_offset, consts, false); in dump_src()
387 dump_fau_src(fp, srcs, branch_offset, consts, true); in dump_src()
H A Dcompiler.h444 int32_t branch_offset;
/third_party/node/deps/v8/src/codegen/riscv64/
H A Dassembler-riscv64.h227 inline int32_t branch_offset(Label* L) { in branch_offset() function
395 beq(rs1, rs2, branch_offset(L)); in beq()
399 bne(rs1, rs2, branch_offset(L)); in bne()
403 blt(rs1, rs2, branch_offset(L)); in blt()
407 bge(rs1, rs2, branch_offset(L)); in bge()
411 bltu(rs1, rs2, branch_offset(L)); in bltu()
415 bgeu(rs1, rs2, branch_offset(L)); in bgeu()
652 inline void c_bnez(Register rs1, Label* L) { c_bnez(rs1, branch_offset(L)); } in c_bnez()
654 inline void c_beqz(Register rs1, Label* L) { c_beqz(rs1, branch_offset(L)); } in c_beqz()
1080 inline void beqz(Register rs1, Label* L) { beqz(rs1, branch_offset( in beqz()
[all...]
/third_party/node/deps/v8/src/codegen/arm/
H A Dassembler-arm-inl.h63 int32_t branch_offset = branch->GetBranchOffset() - delta; in apply() local
64 branch->SetBranchOffset(branch_offset); in apply()
325 intptr_t branch_offset = target - pc - Instruction::kPcLoadDelta; in set_target_address_at() local
327 branch->SetBranchOffset(branch_offset); in set_target_address_at()
H A Dconstants-arm.h577 void SetBranchOffset(int32_t branch_offset) { in SetBranchOffset() argument
579 DCHECK_EQ(branch_offset % kInstrSize, 0); in SetBranchOffset()
580 int32_t new_imm24 = branch_offset / kInstrSize; in SetBranchOffset()
H A Dassembler-arm.h350 int branch_offset(Label* L);
406 void b(int branch_offset, Condition cond = al,
408 void bl(int branch_offset, Condition cond = al,
410 void blx(int branch_offset); // v5 and above
H A Dassembler-arm.cc1443 int Assembler::branch_offset(Label* L) { in branch_offset() function in v8::internal::Assembler
1462 void Assembler::b(int branch_offset, Condition cond, RelocInfo::Mode rmode) { in b() argument
1464 DCHECK_EQ(branch_offset & 3, 0); in b()
1465 int imm24 = branch_offset >> 2; in b()
1481 void Assembler::bl(int branch_offset, Condition cond, RelocInfo::Mode rmode) { in bl() argument
1483 DCHECK_EQ(branch_offset & 3, 0); in bl()
1484 int imm24 = branch_offset >> 2; in bl()
1495 void Assembler::blx(int branch_offset) { in blx() argument
1496 DCHECK_EQ(branch_offset & 1, 0); in blx()
1497 int h = ((branch_offset in blx()
[all...]
/third_party/mesa3d/src/panfrost/bifrost/valhall/
H A Dva_pack.c347 hex |= ((uint64_t) I->branch_offset & BITFIELD_MASK(27)) << 8; in va_pack_alu()
764 if (I->branch_offset & 0x7) invalid_instruction(I, "unaligned branch"); in va_pack_instr()
765 hex |= ((I->branch_offset >> 3) << 8); in va_pack_instr()
831 /* Calculate branch_offset from a branch_target for a direct relative branch */
887 I->branch_offset = offset; in va_lower_branch_target()
928 I->branch_offset = prolog_length; in va_lower_blend()
/third_party/node/deps/v8/src/codegen/s390/
H A Dassembler-s390.cc650 void Assembler::branchOnCond(Condition c, int branch_offset, bool is_bound, in branchOnCond() argument
652 int offset_in_halfwords = branch_offset / 2; in branchOnCond()
699 larl(r1, Operand(branch_offset(l))); in larl()
703 lgrl(r1, Operand(branch_offset(l))); in lgrl()
H A Dassembler-s390.h270 int branch_offset(Label* L) { return link(L) - pc_offset(); } in branch_offset() function in v8::internal::Assembler
944 int32_t halfwords = branch_offset(l) / 2; in b()
949 void branchOnCond(Condition c, int branch_offset, bool is_bound = false,
955 branchOnCond(cond, branch_offset(l), in b()
994 int offset_halfwords = branch_offset(L) / 2; in brxh()
1000 int offset_halfwords = branch_offset(L) / 2; in brxhg()
H A Dmacro-assembler-s390.cc3560 int32_t offset = branch_offset(l); in CallRecordWriteStub()
/third_party/mesa3d/src/panfrost/bifrost/valhall/test/
H A Dtest-packing.cpp172 I->branch_offset = 1; in TEST_F()
178 I->branch_offset = -8; in TEST_F()
/third_party/node/deps/v8/src/codegen/ppc/
H A Dassembler-ppc.h234 int branch_offset(Label* L) { in branch_offset() function in v8::internal::Assembler
641 void bc(int branch_offset, BOfield bo, int condition_bit, LKBit lk = LeaveLK);
642 void b(int branch_offset, LKBit lk);
649 void b(Label* L, LKBit lk = LeaveLK) { b(branch_offset(L), lk); } in b()
694 int b_offset = branch_offset(L); in bc_short()
869 bc(branch_offset(L), DCBNZ, 0, lk); in bdnz()
H A Dassembler-ppc.cc714 void Assembler::bc(int branch_offset, BOfield bo, int condition_bit, LKBit lk) { in bc() argument
715 int imm16 = branch_offset; in bc()
720 void Assembler::b(int branch_offset, LKBit lk) { in b() argument
721 int imm26 = branch_offset; in b()
/third_party/node/deps/v8/src/codegen/loong64/
H A Dassembler-loong64.h187 inline int32_t branch_offset(Label* L) { in branch_offset() function
197 return branch_offset(L) >> 2; in shifted_branch_offset()
H A Dassembler-loong64.cc580 int branch_offset = BranchOffset(instr); in bind_to() local
581 if (dist > branch_offset) { in bind_to()
586 CHECK((trampoline_pos - fixup_pos) <= branch_offset); in bind_to()
/third_party/node/deps/v8/src/codegen/mips64/
H A Dassembler-mips64.h223 inline int32_t branch_offset(Label* L) { in branch_offset() function
233 return branch_offset(L) >> 2; in shifted_branch_offset()
405 bgezall(rs, branch_offset(L) >> 2); in bgezall()
H A Dassembler-mips64.cc976 int branch_offset = BranchOffset(instr); in bind_to() local
977 if (dist > branch_offset) { in bind_to()
982 CHECK((trampoline_pos - fixup_pos) <= branch_offset); in bind_to()
/third_party/node/deps/v8/src/codegen/mips/
H A Dassembler-mips.h223 inline int32_t branch_offset(Label* L) { in branch_offset() function
233 return branch_offset(L) >> 2; in shifted_branch_offset()
406 bgezall(rs, branch_offset(L) >> 2); in bgezall()
H A Dassembler-mips.cc1050 int branch_offset = BranchOffset(instr); in bind_to() local
1051 if (dist > branch_offset) { in bind_to()
1056 CHECK((trampoline_pos - fixup_pos) <= branch_offset); in bind_to()

Completed in 74 milliseconds