Searched refs:IMM_L (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/arch/powerpc/include/asm/ |
D | ppc-opcode.h | 79 #define IMM_L(i) ((uintptr_t)(i) & 0xffff) macro 418 #define PPC_RAW_LWZ(r, base, i) (0x80000000 | ___PPC_RT(r) | ___PPC_RA(base) | IMM_L(i)) 438 #define PPC_RAW_ADDI(d, a, i) (PPC_INST_ADDI | ___PPC_RT(d) | ___PPC_RA(a) | IMM_L(i)) 440 #define PPC_RAW_ADDIS(d, a, i) (PPC_INST_ADDIS | ___PPC_RT(d) | ___PPC_RA(a) | IMM_L(i)) 444 #define PPC_RAW_STW(r, base, i) (0x90000000 | ___PPC_RS(r) | ___PPC_RA(base) | IMM_L(i)) 445 #define PPC_RAW_STWU(r, base, i) (0x94000000 | ___PPC_RS(r) | ___PPC_RA(base) | IMM_L(i)) 446 #define PPC_RAW_STH(r, base, i) (0xb0000000 | ___PPC_RS(r) | ___PPC_RA(base) | IMM_L(i)) 447 #define PPC_RAW_STB(r, base, i) (0x98000000 | ___PPC_RS(r) | ___PPC_RA(base) | IMM_L(i)) 448 #define PPC_RAW_LBZ(r, base, i) (0x88000000 | ___PPC_RT(r) | ___PPC_RA(base) | IMM_L(i)) 450 #define PPC_RAW_LHZ(r, base, i) (0xa0000000 | ___PPC_RT(r) | ___PPC_RA(base) | IMM_L(i)) [all …]
|
/Linux-v5.10/arch/powerpc/net/ |
D | bpf_jit32.h | 77 EMIT(PPC_RAW_LBZ(r, r, IMM_L(i))); } } while(0) 81 EMIT(PPC_RAW_LD(r, r, IMM_L(i))); } } while(0) 85 EMIT(PPC_RAW_LWZ(r, r, IMM_L(i))); } } while(0) 89 EMIT(PPC_RAW_LHZ(r, r, IMM_L(i))); } } while(0)
|
D | bpf_jit_comp.c | 142 EMIT(PPC_RAW_ADDI(r_A, r_A, IMM_L(K))); in bpf_jit_build_body() 153 EMIT(PPC_RAW_ADDI(r_A, r_A, IMM_L(-K))); in bpf_jit_build_body() 217 if (IMM_L(K)) in bpf_jit_build_body() 218 EMIT(PPC_RAW_ORI(r_A, r_A, IMM_L(K))); in bpf_jit_build_body() 228 if (IMM_L(K)) in bpf_jit_build_body() 229 EMIT(PPC_RAW_XORI(r_A, r_A, IMM_L(K))); in bpf_jit_build_body() 444 EMIT(PPC_RAW_ADDI(r_addr, r_X, IMM_L(K))); in bpf_jit_build_body()
|
D | bpf_jit.h | 41 if (IMM_L(i)) \ 42 EMIT(PPC_RAW_ORI(d, d, IMM_L(i))); \
|
D | bpf_jit_comp64.c | 357 EMIT(PPC_RAW_ADDI(dst_reg, dst_reg, IMM_L(imm))); in bpf_jit_build_body() 374 EMIT(PPC_RAW_MULI(dst_reg, dst_reg, IMM_L(imm))); in bpf_jit_build_body() 461 EMIT(PPC_RAW_ANDI(dst_reg, dst_reg, IMM_L(imm))); in bpf_jit_build_body() 479 if (IMM_L(imm)) in bpf_jit_build_body() 480 EMIT(PPC_RAW_ORI(dst_reg, dst_reg, IMM_L(imm))); in bpf_jit_build_body() 496 if (IMM_L(imm)) in bpf_jit_build_body() 497 EMIT(PPC_RAW_XORI(dst_reg, dst_reg, IMM_L(imm))); in bpf_jit_build_body()
|
/Linux-v5.10/arch/powerpc/lib/ |
D | test_emulate_step.c | 26 PPC_INST_PLD | ___PPC_RT(r) | ___PPC_RA(base) | IMM_L(i)) 34 PPC_INST_PSTD | ___PPC_RT(r) | ___PPC_RA(base) | IMM_L(i)) 38 PPC_INST_LFS | ___PPC_RT(r) | ___PPC_RA(base) | IMM_L(i)) 42 PPC_INST_STFS | ___PPC_RT(r) | ___PPC_RA(base) | IMM_L(i)) 46 PPC_INST_LFD | ___PPC_RT(r) | ___PPC_RA(base) | IMM_L(i)) 50 PPC_INST_STFD | ___PPC_RT(r) | ___PPC_RA(base) | IMM_L(i))
|