Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/lib/
Dtest-code-patching.c13 if (instr_is_branch_iform(ppc_inst_read(instr)) || in instr_is_branch_to_addr()
39 check(instr_is_branch_iform(ppc_inst(0x48000000))); in test_branch_iform()
41 check(instr_is_branch_iform(ppc_inst(0x4bffffff))); in test_branch_iform()
43 check(!instr_is_branch_iform(ppc_inst(0xcbffffff))); in test_branch_iform()
45 check(!instr_is_branch_iform(ppc_inst(0x7bffffff))); in test_branch_iform()
48 check(instr_is_branch_iform(ppc_inst(0x48000001))); in test_branch_iform()
50 check(instr_is_branch_iform(ppc_inst(0x4bfffffd))); in test_branch_iform()
52 check(instr_is_branch_iform(ppc_inst(0x4bff00fd))); in test_branch_iform()
54 check(!instr_is_branch_iform(ppc_inst(0x7bfffffd))); in test_branch_iform()
Dcode-patching.c271 return instr_is_branch_iform(instr) || instr_is_branch_bform(instr); in instr_is_relative_branch()
313 if (instr_is_branch_iform(ppc_inst_read(instr))) in branch_target()
326 if (instr_is_branch_iform(ppc_inst_read(src))) in translate_branch()
/linux-6.1.9/arch/powerpc/include/asm/
Dcode-patching.h111 static inline int instr_is_branch_iform(ppc_inst_t instr) in instr_is_branch_iform() function