Searched refs:instr_is_branch_to_addr (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/arch/powerpc/lib/ |
D | code-patching.c | 370 int instr_is_branch_to_addr(const struct ppc_inst *instr, unsigned long addr) in instr_is_branch_to_addr() function 449 check(instr_is_branch_to_addr(&instr, 0x100)); in test_branch_iform() 452 check(instr_is_branch_to_addr(&instr, 0x420fc)); in test_branch_iform() 455 check(instr_is_branch_to_addr(&instr, addr + 0x1FFFFFC)); in test_branch_iform() 458 check(instr_is_branch_to_addr(&instr, addr - 4)); in test_branch_iform() 461 check(instr_is_branch_to_addr(&instr, addr - 0x2000000)); in test_branch_iform() 465 check(instr_is_branch_to_addr(&instr, addr)); in test_branch_iform() 469 check(instr_is_branch_to_addr(&instr, addr - 0x100)); in test_branch_iform() 473 check(instr_is_branch_to_addr(&instr, addr + 0x100)); in test_branch_iform() 477 check(instr_is_branch_to_addr(&instr, addr - 0x2000000)); in test_branch_iform() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | code-patching.h | 63 int instr_is_branch_to_addr(const struct ppc_inst *instr, unsigned long addr);
|