Home
last modified time | relevance | path

Searched refs:IMM_L (Results 1 – 2 of 2) sorted by relevance

/arch/powerpc/net/
Dbpf_jit.h69 #define IMM_L(i) ((uintptr_t)(i) & 0xffff) macro
80 __PPC_RA(a) | IMM_L(i))
84 __PPC_RS(d) | __PPC_RA(a) | IMM_L(i))
90 __PPC_RA(base) | IMM_L(i))
92 __PPC_RA(base) | IMM_L(i))
94 __PPC_RA(base) | IMM_L(i))
98 PPC_LD(r, r, IMM_L(i)); } } while(0)
102 PPC_LWZ(r, r, IMM_L(i)); } } while(0)
106 PPC_LHZ(r, r, IMM_L(i)); } } while(0)
108 #define PPC_CMPWI(a, i) EMIT(PPC_INST_CMPWI | __PPC_RA(a) | IMM_L(i))
[all …]
Dbpf_jit_comp.c165 PPC_ADDI(r_A, r_A, IMM_L(K)); in bpf_jit_build_body()
176 PPC_ADDI(r_A, r_A, IMM_L(-K)); in bpf_jit_build_body()
230 if (IMM_L(K)) in bpf_jit_build_body()
231 PPC_ORI(r_A, r_A, IMM_L(K)); in bpf_jit_build_body()
435 PPC_ADDI(r_addr, r_X, IMM_L(K)); in bpf_jit_build_body()