Lines Matching refs:write_insn
3547 write_insn(unsigned char* p, uint32_t v) in write_insn() function
4317 write_insn<big_endian>(p, std_2_1 + this->targ_->stk_toc()); in do_write()
4321 write_insn<big_endian>(p, addis_11_2 + ha(off)); in do_write()
4323 write_insn<big_endian>(p, ld_12_11 + l(off)); in do_write()
4328 write_insn<big_endian>(p, addis_12_2 + ha(off)); in do_write()
4330 write_insn<big_endian>(p, ld_12_12 + l(off)); in do_write()
4336 write_insn<big_endian>(p, addi_11_11 + l(off)); in do_write()
4340 write_insn<big_endian>(p, mtctr_12); in do_write()
4346 write_insn<big_endian>(p, xor_2_12_12); in do_write()
4348 write_insn<big_endian>(p, add_11_11_2); in do_write()
4351 write_insn<big_endian>(p, ld_2_11 + l(off + 8)); in do_write()
4355 write_insn<big_endian>(p, ld_11_11 + l(off + 16)); in do_write()
4362 write_insn<big_endian>(p, std_2_1 + this->targ_->stk_toc()); in do_write()
4364 write_insn<big_endian>(p, ld_12_2 + l(off)); in do_write()
4369 write_insn<big_endian>(p, addi_2_2 + l(off)); in do_write()
4373 write_insn<big_endian>(p, mtctr_12); in do_write()
4379 write_insn<big_endian>(p, xor_11_12_12); in do_write()
4381 write_insn<big_endian>(p, add_2_2_11); in do_write()
4386 write_insn<big_endian>(p, ld_11_2 + l(off + 16)); in do_write()
4389 write_insn<big_endian>(p, ld_2_2 + l(off + 8)); in do_write()
4395 write_insn<big_endian>(p, cmpldi_2_0); in do_write()
4397 write_insn<big_endian>(p, bnectr_p4); in do_write()
4399 write_insn<big_endian>(p, b | (cmp_branch_off & 0x3fffffc)); in do_write()
4402 write_insn<big_endian>(p, bctr); in do_write()
4416 write_insn<big_endian>(p, b | (delta & 0x3fffffc)); in do_write()
4427 write_insn<big_endian>(p, ld_12_2 + l(brltoff)), p += 4; in do_write()
4431 write_insn<big_endian>(p, addis_12_2 + ha(brltoff)), p += 4; in do_write()
4432 write_insn<big_endian>(p, ld_12_12 + l(brltoff)), p += 4; in do_write()
4434 write_insn<big_endian>(p, mtctr_12), p += 4; in do_write()
4435 write_insn<big_endian>(p, bctr); in do_write()
4495 write_insn<big_endian>(p + 0, lwz_11_30 + l(off)); in do_write()
4496 write_insn<big_endian>(p + 4, mtctr_11); in do_write()
4497 write_insn<big_endian>(p + 8, bctr); in do_write()
4501 write_insn<big_endian>(p + 0, addis_11_30 + ha(off)); in do_write()
4502 write_insn<big_endian>(p + 4, lwz_11_11 + l(off)); in do_write()
4503 write_insn<big_endian>(p + 8, mtctr_11); in do_write()
4504 write_insn<big_endian>(p + 12, bctr); in do_write()
4509 write_insn<big_endian>(p + 0, lis_11 + ha(plt_addr)); in do_write()
4510 write_insn<big_endian>(p + 4, lwz_11_11 + l(plt_addr)); in do_write()
4511 write_insn<big_endian>(p + 8, mtctr_11); in do_write()
4512 write_insn<big_endian>(p + 12, bctr); in do_write()
4527 write_insn<big_endian>(p, b | (delta & 0x3fffffc)); in do_write()
4530 write_insn<big_endian>(p + 0, lis_12 + ha(bs->first.dest_)); in do_write()
4531 write_insn<big_endian>(p + 4, addi_12_12 + l(bs->first.dest_)); in do_write()
4532 write_insn<big_endian>(p + 8, mtctr_12); in do_write()
4533 write_insn<big_endian>(p + 12, bctr); in do_write()
4538 write_insn<big_endian>(p + 0, mflr_0); in do_write()
4539 write_insn<big_endian>(p + 4, bcl_20_31); in do_write()
4540 write_insn<big_endian>(p + 8, mflr_12); in do_write()
4541 write_insn<big_endian>(p + 12, addis_12_12 + ha(delta)); in do_write()
4542 write_insn<big_endian>(p + 16, addi_12_12 + l(delta)); in do_write()
4543 write_insn<big_endian>(p + 20, mtlr_0); in do_write()
4544 write_insn<big_endian>(p + 24, mtctr_12); in do_write()
4545 write_insn<big_endian>(p + 28, bctr); in do_write()
4580 write_insn<big_endian>(p, mflr_12), p += 4; in do_write()
4581 write_insn<big_endian>(p, bcl_20_31), p += 4; in do_write()
4582 write_insn<big_endian>(p, mflr_11), p += 4; in do_write()
4583 write_insn<big_endian>(p, ld_2_11 + l(-16)), p += 4; in do_write()
4584 write_insn<big_endian>(p, mtlr_12), p += 4; in do_write()
4585 write_insn<big_endian>(p, add_11_2_11), p += 4; in do_write()
4586 write_insn<big_endian>(p, ld_12_11 + 0), p += 4; in do_write()
4587 write_insn<big_endian>(p, ld_2_11 + 8), p += 4; in do_write()
4588 write_insn<big_endian>(p, mtctr_12), p += 4; in do_write()
4589 write_insn<big_endian>(p, ld_11_11 + 16), p += 4; in do_write()
4593 write_insn<big_endian>(p, mflr_0), p += 4; in do_write()
4594 write_insn<big_endian>(p, bcl_20_31), p += 4; in do_write()
4595 write_insn<big_endian>(p, mflr_11), p += 4; in do_write()
4596 write_insn<big_endian>(p, ld_2_11 + l(-16)), p += 4; in do_write()
4597 write_insn<big_endian>(p, mtlr_0), p += 4; in do_write()
4598 write_insn<big_endian>(p, sub_12_12_11), p += 4; in do_write()
4599 write_insn<big_endian>(p, add_11_2_11), p += 4; in do_write()
4600 write_insn<big_endian>(p, addi_0_12 + l(-48)), p += 4; in do_write()
4601 write_insn<big_endian>(p, ld_12_11 + 0), p += 4; in do_write()
4602 write_insn<big_endian>(p, srdi_0_0_2), p += 4; in do_write()
4603 write_insn<big_endian>(p, mtctr_12), p += 4; in do_write()
4604 write_insn<big_endian>(p, ld_11_11 + 8), p += 4; in do_write()
4606 write_insn<big_endian>(p, bctr), p += 4; in do_write()
4608 write_insn<big_endian>(p, nop), p += 4; in do_write()
4618 write_insn<big_endian>(p, li_0_0 + indx), p += 4; in do_write()
4622 write_insn<big_endian>(p, lis_0_0 + hi(indx)), p += 4; in do_write()
4623 write_insn<big_endian>(p, ori_0_0_0 + l(indx)), p += 4; in do_write()
4627 write_insn<big_endian>(p, b + (branch_off & 0x3fffffc)), p += 4; in do_write()
4660 write_insn<big_endian>(p, addis_12_12 + ha(off)), p += 4; in do_write()
4661 write_insn<big_endian>(p, ld_12_12 + l(off)), p += 4; in do_write()
4662 write_insn<big_endian>(p, mtctr_12), p += 4; in do_write()
4663 write_insn<big_endian>(p, bctr); in do_write()
4678 write_insn<big_endian>(p, b + end_p - p), p += 4; in do_write()
4680 write_insn<big_endian>(p, nop), p += 4; in do_write()
4689 write_insn<big_endian>(p + 0, addis_11_11 + ha(bcl_res0)); in do_write()
4690 write_insn<big_endian>(p + 4, mflr_0); in do_write()
4691 write_insn<big_endian>(p + 8, bcl_20_31); in do_write()
4692 write_insn<big_endian>(p + 12, addi_11_11 + l(bcl_res0)); in do_write()
4693 write_insn<big_endian>(p + 16, mflr_12); in do_write()
4694 write_insn<big_endian>(p + 20, mtlr_0); in do_write()
4695 write_insn<big_endian>(p + 24, sub_11_11_12); in do_write()
4699 write_insn<big_endian>(p + 28, addis_12_12 + ha(got_bcl)); in do_write()
4702 write_insn<big_endian>(p + 32, lwz_0_12 + l(got_bcl)); in do_write()
4703 write_insn<big_endian>(p + 36, lwz_12_12 + l(got_bcl + 4)); in do_write()
4707 write_insn<big_endian>(p + 32, lwzu_0_12 + l(got_bcl)); in do_write()
4708 write_insn<big_endian>(p + 36, lwz_12_12 + 4); in do_write()
4710 write_insn<big_endian>(p + 40, mtctr_0); in do_write()
4711 write_insn<big_endian>(p + 44, add_0_11_11); in do_write()
4712 write_insn<big_endian>(p + 48, add_11_0_11); in do_write()
4713 write_insn<big_endian>(p + 52, bctr); in do_write()
4714 write_insn<big_endian>(p + 56, nop); in do_write()
4715 write_insn<big_endian>(p + 60, nop); in do_write()
4721 write_insn<big_endian>(p + 0, lis_12 + ha(g_o_t + 4)); in do_write()
4722 write_insn<big_endian>(p + 4, addis_11_11 + ha(-res0)); in do_write()
4724 write_insn<big_endian>(p + 8, lwz_0_12 + l(g_o_t + 4)); in do_write()
4726 write_insn<big_endian>(p + 8, lwzu_0_12 + l(g_o_t + 4)); in do_write()
4727 write_insn<big_endian>(p + 12, addi_11_11 + l(-res0)); in do_write()
4728 write_insn<big_endian>(p + 16, mtctr_0); in do_write()
4729 write_insn<big_endian>(p + 20, add_0_11_11); in do_write()
4731 write_insn<big_endian>(p + 24, lwz_12_12 + l(g_o_t + 8)); in do_write()
4733 write_insn<big_endian>(p + 24, lwz_12_12 + 4); in do_write()
4734 write_insn<big_endian>(p + 28, add_11_0_11); in do_write()
4735 write_insn<big_endian>(p + 32, bctr); in do_write()
4736 write_insn<big_endian>(p + 36, nop); in do_write()
4737 write_insn<big_endian>(p + 40, nop); in do_write()
4738 write_insn<big_endian>(p + 44, nop); in do_write()
4739 write_insn<big_endian>(p + 48, nop); in do_write()
4740 write_insn<big_endian>(p + 52, nop); in do_write()
4741 write_insn<big_endian>(p + 56, nop); in do_write()
4742 write_insn<big_endian>(p + 60, nop); in do_write()
4787 write_insn<big_endian>(p, insn); in savegpr0()
4797 write_insn<big_endian>(p, insn); in savegpr0_tail()
4799 write_insn<big_endian>(p, blr); in savegpr0_tail()
4808 write_insn<big_endian>(p, insn); in restgpr0()
4817 write_insn<big_endian>(p, insn); in restgpr0_tail()
4820 write_insn<big_endian>(p, mtlr_0); in restgpr0_tail()
4827 write_insn<big_endian>(p, blr); in restgpr0_tail()
4836 write_insn<big_endian>(p, insn); in savegpr1()
4845 write_insn<big_endian>(p, blr); in savegpr1_tail()
4854 write_insn<big_endian>(p, insn); in restgpr1()
4863 write_insn<big_endian>(p, blr); in restgpr1_tail()
4872 write_insn<big_endian>(p, insn); in savefpr()
4881 write_insn<big_endian>(p, std_0_1 + 16); in savefpr0_tail()
4883 write_insn<big_endian>(p, blr); in savefpr0_tail()
4892 write_insn<big_endian>(p, insn); in restfpr()
4900 write_insn<big_endian>(p, ld_0_1 + 16); in restfpr0_tail()
4903 write_insn<big_endian>(p, mtlr_0); in restfpr0_tail()
4910 write_insn<big_endian>(p, blr); in restfpr0_tail()
4919 write_insn<big_endian>(p, blr); in savefpr1_tail()
4928 write_insn<big_endian>(p, blr); in restfpr1_tail()
4937 write_insn<big_endian>(p, insn); in savevr()
4940 write_insn<big_endian>(p, insn); in savevr()
4949 write_insn<big_endian>(p, blr); in savevr_tail()
4958 write_insn<big_endian>(p, insn); in restvr()
4961 write_insn<big_endian>(p, insn); in restvr()
4970 write_insn<big_endian>(p, blr); in restvr_tail()