Lines Matching refs:instr_is_branch_to_addr
400 static int instr_is_branch_to_addr(const u32 *instr, unsigned long addr) in instr_is_branch_to_addr() function
445 check(instr_is_branch_to_addr(iptr, 0x100)); in test_branch_iform()
448 check(instr_is_branch_to_addr(iptr, 0x420fc)); in test_branch_iform()
451 check(instr_is_branch_to_addr(iptr, addr + 0x1FFFFFC)); in test_branch_iform()
454 check(instr_is_branch_to_addr(iptr, addr - 4)); in test_branch_iform()
457 check(instr_is_branch_to_addr(iptr, addr - 0x2000000)); in test_branch_iform()
462 check(instr_is_branch_to_addr(iptr, addr)); in test_branch_iform()
467 check(instr_is_branch_to_addr(iptr, addr - 0x100)); in test_branch_iform()
472 check(instr_is_branch_to_addr(iptr, addr + 0x100)); in test_branch_iform()
477 check(instr_is_branch_to_addr(iptr, addr - 0x2000000)); in test_branch_iform()
494 check(instr_is_branch_to_addr(iptr, addr)); in test_branch_iform()
509 check(instr_is_branch_to_addr(iptr, dest)); in test_create_function_call()
534 check(instr_is_branch_to_addr(iptr, 0x100)); in test_branch_bform()
537 check(instr_is_branch_to_addr(iptr, 0x20fc)); in test_branch_bform()
540 check(instr_is_branch_to_addr(iptr, addr + 0x7FFC)); in test_branch_bform()
543 check(instr_is_branch_to_addr(iptr, addr - 4)); in test_branch_bform()
546 check(instr_is_branch_to_addr(iptr, addr - 0x8000)); in test_branch_bform()
554 check(instr_is_branch_to_addr(iptr, addr)); in test_branch_bform()
559 check(instr_is_branch_to_addr(iptr, addr - 0x100)); in test_branch_bform()
564 check(instr_is_branch_to_addr(iptr, addr + 0x100)); in test_branch_bform()
569 check(instr_is_branch_to_addr(iptr, addr - 0x8000)); in test_branch_bform()
586 check(instr_is_branch_to_addr(iptr, addr)); in test_branch_bform()
606 check(instr_is_branch_to_addr(p, addr)); in test_translate_branch()
610 check(instr_is_branch_to_addr(q, addr)); in test_translate_branch()
619 check(instr_is_branch_to_addr(p, addr)); in test_translate_branch()
620 check(instr_is_branch_to_addr(q, addr)); in test_translate_branch()
630 check(instr_is_branch_to_addr(p, addr)); in test_translate_branch()
631 check(instr_is_branch_to_addr(q, addr)); in test_translate_branch()
641 check(instr_is_branch_to_addr(p, addr)); in test_translate_branch()
642 check(instr_is_branch_to_addr(q, addr)); in test_translate_branch()
651 check(instr_is_branch_to_addr(p, addr)); in test_translate_branch()
652 check(instr_is_branch_to_addr(q, addr)); in test_translate_branch()
662 check(instr_is_branch_to_addr(p, addr)); in test_translate_branch()
666 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()
700 check(instr_is_branch_to_addr(p, addr)); in test_translate_branch()
701 check(instr_is_branch_to_addr(q, addr)); in test_translate_branch()
711 check(instr_is_branch_to_addr(p, addr)); in test_translate_branch()
712 check(instr_is_branch_to_addr(q, addr)); in test_translate_branch()