Lines Matching refs:instr_is_branch_to_addr
365 int instr_is_branch_to_addr(const struct ppc_inst *instr, unsigned long addr) in instr_is_branch_to_addr() function
444 check(instr_is_branch_to_addr(&instr, 0x100)); in test_branch_iform()
447 check(instr_is_branch_to_addr(&instr, 0x420fc)); in test_branch_iform()
450 check(instr_is_branch_to_addr(&instr, addr + 0x1FFFFFC)); in test_branch_iform()
453 check(instr_is_branch_to_addr(&instr, addr - 4)); in test_branch_iform()
456 check(instr_is_branch_to_addr(&instr, addr - 0x2000000)); in test_branch_iform()
460 check(instr_is_branch_to_addr(&instr, addr)); in test_branch_iform()
464 check(instr_is_branch_to_addr(&instr, addr - 0x100)); in test_branch_iform()
468 check(instr_is_branch_to_addr(&instr, addr + 0x100)); in test_branch_iform()
472 check(instr_is_branch_to_addr(&instr, addr - 0x2000000)); in test_branch_iform()
488 check(instr_is_branch_to_addr(&instr, addr)); in test_branch_iform()
503 check(instr_is_branch_to_addr(iptr, dest)); in test_create_function_call()
527 check(instr_is_branch_to_addr(&instr, 0x100)); in test_branch_bform()
530 check(instr_is_branch_to_addr(&instr, 0x20fc)); in test_branch_bform()
533 check(instr_is_branch_to_addr(&instr, addr + 0x7FFC)); in test_branch_bform()
536 check(instr_is_branch_to_addr(&instr, addr - 4)); in test_branch_bform()
539 check(instr_is_branch_to_addr(&instr, addr - 0x8000)); in test_branch_bform()
546 check(instr_is_branch_to_addr(&instr, addr)); in test_branch_bform()
550 check(instr_is_branch_to_addr(&instr, addr - 0x100)); in test_branch_bform()
554 check(instr_is_branch_to_addr(&instr, addr + 0x100)); in test_branch_bform()
558 check(instr_is_branch_to_addr(&instr, addr - 0x8000)); in test_branch_bform()
574 check(instr_is_branch_to_addr(&instr, addr)); in test_branch_bform()
594 check(instr_is_branch_to_addr(p, addr)); in test_translate_branch()
598 check(instr_is_branch_to_addr(q, addr)); in test_translate_branch()
607 check(instr_is_branch_to_addr(p, addr)); in test_translate_branch()
608 check(instr_is_branch_to_addr(q, addr)); in test_translate_branch()
618 check(instr_is_branch_to_addr(p, addr)); in test_translate_branch()
619 check(instr_is_branch_to_addr(q, addr)); in test_translate_branch()
629 check(instr_is_branch_to_addr(p, addr)); in test_translate_branch()
630 check(instr_is_branch_to_addr(q, addr)); in test_translate_branch()
639 check(instr_is_branch_to_addr(p, addr)); in test_translate_branch()
640 check(instr_is_branch_to_addr(q, addr)); in test_translate_branch()
650 check(instr_is_branch_to_addr(p, addr)); in test_translate_branch()
654 check(instr_is_branch_to_addr(q, addr)); in test_translate_branch()
664 check(instr_is_branch_to_addr(p, addr)); in test_translate_branch()
665 check(instr_is_branch_to_addr(q, addr)); in test_translate_branch()
676 check(instr_is_branch_to_addr(p, addr)); in test_translate_branch()
677 check(instr_is_branch_to_addr(q, addr)); in test_translate_branch()
688 check(instr_is_branch_to_addr(p, addr)); in test_translate_branch()
689 check(instr_is_branch_to_addr(q, addr)); in test_translate_branch()
699 check(instr_is_branch_to_addr(p, addr)); in test_translate_branch()
700 check(instr_is_branch_to_addr(q, addr)); in test_translate_branch()