Home
last modified time | relevance | path

Searched refs:instr_is_branch_bform (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/arch/powerpc/lib/
Dtest-code-patching.c14 instr_is_branch_bform(ppc_inst_read(instr))) in instr_is_branch_to_addr()
137 check(instr_is_branch_bform(ppc_inst(0x40000000))); in test_branch_bform()
139 check(instr_is_branch_bform(ppc_inst(0x43ffffff))); in test_branch_bform()
141 check(!instr_is_branch_bform(ppc_inst(0xc3ffffff))); in test_branch_bform()
143 check(!instr_is_branch_bform(ppc_inst(0x7bffffff))); in test_branch_bform()
Dcode-patching.c271 return instr_is_branch_iform(instr) || instr_is_branch_bform(instr); in instr_is_relative_branch()
315 else if (instr_is_branch_bform(ppc_inst_read(instr))) in branch_target()
329 else if (instr_is_branch_bform(ppc_inst_read(src))) in translate_branch()
/linux-6.1.9/arch/powerpc/include/asm/
Dcode-patching.h116 static inline int instr_is_branch_bform(ppc_inst_t instr) in instr_is_branch_bform() function