Searched refs:HPPA_BRANCH_DISPLACEMENT (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/arch/parisc/net/ |
H A D | bpf_jit_comp64.c | 187 if (relative_bits_ok(paoff - HPPA_BRANCH_DISPLACEMENT, 22)) { in emit_jump() 189 emit(hppa64_bl_long(paoff - HPPA_BRANCH_DISPLACEMENT), ctx); in emit_jump() 270 if (!relative_branch_ok(paoff - HPPA_BRANCH_DISPLACEMENT + 1, 12)) { in emit_branch() 280 off = far ? (2 - HPPA_BRANCH_DISPLACEMENT) : paoff - HPPA_BRANCH_DISPLACEMENT; in emit_branch() 370 emit(hppa_bltu(idx_reg, HPPA_REG_T1, 2 - HPPA_BRANCH_DISPLACEMENT), ctx); in emit_bpf_tail_call() 379 emit(hppa_bge(HPPA_REG_TCC, HPPA_REG_ZERO, 2 - HPPA_BRANCH_DISPLACEMENT), ctx); in emit_bpf_tail_call() 392 emit(hppa_bne(HPPA_REG_T0, HPPA_REG_ZERO, 2 - HPPA_BRANCH_DISPLACEMENT), ctx); in emit_bpf_tail_call() 539 emit(hppa_beq(HPPA_REG_ARG1, HPPA_REG_ZERO, 2 - HPPA_BRANCH_DISPLACEMENT), ctx); in emit_call_libgcc_ll() 1136 emit(hppa_beq(HPPA_REG_TCC_IN_INIT, HPPA_REG_R1, 6 - HPPA_BRANCH_DISPLACEMENT), ctx); in bpf_jit_build_prologue() 1137 emit(hppa64_bl_long(ctx->prologue_len - 3 - HPPA_BRANCH_DISPLACEMENT), ctx); in bpf_jit_build_prologue()
|
H A D | bpf_jit_comp32.c | 407 if (relative_bits_ok(paoff - HPPA_BRANCH_DISPLACEMENT, 17)) { in emit_jump() 409 emit(hppa_bl(paoff - HPPA_BRANCH_DISPLACEMENT, HPPA_REG_ZERO), ctx); in emit_jump() 809 if (!relative_bits_ok(paoff - HPPA_BRANCH_DISPLACEMENT, 12)) { in emit_bcc() 819 off = far ? (HPPA_BRANCH_DISPLACEMENT - 1) : paoff - HPPA_BRANCH_DISPLACEMENT; in emit_bcc() 968 emit(hppa_bltu(lo(idx_reg), HPPA_REG_T1, 2 - HPPA_BRANCH_DISPLACEMENT), ctx); in emit_bpf_tail_call() 977 emit(hppa_bge(HPPA_REG_TCC, HPPA_REG_ZERO, 2 - HPPA_BRANCH_DISPLACEMENT), ctx); in emit_bpf_tail_call() 990 emit(hppa_bne(HPPA_REG_T0, HPPA_REG_ZERO, 2 - HPPA_BRANCH_DISPLACEMENT), ctx); in emit_bpf_tail_call() 1506 …emit(hppa_bne(HPPA_REG_TCC_IN_INIT, HPPA_REG_R1, ctx->prologue_len - 2 - HPPA_BRANCH_DISPLACEMENT)… in bpf_jit_build_prologue()
|
H A D | bpf_jit.h | 87 #define HPPA_BRANCH_DISPLACEMENT 2 /* instructions */ macro
|