Searched refs:IMM_L (Results 1 – 5 of 5) sorted by relevance
/linux/arch/powerpc/include/asm/ |
A D | ppc-opcode.h | 113 #define IMM_L(i) ((uintptr_t)(i) & 0xffff) macro 117 #define IMM_D1(i) IMM_L(i) 485 #define PPC_RAW_ADDI(d, a, i) (0x38000000 | ___PPC_RT(d) | ___PPC_RA(a) | IMM_L(i)) 503 #define PPC_RAW_CMPWI(a, i) (0x2c000000 | ___PPC_RA(a) | IMM_L(i)) 504 #define PPC_RAW_CMPDI(a, i) (0x2c200000 | ___PPC_RA(a) | IMM_L(i)) 507 #define PPC_RAW_CMPLWI(a, i) (0x28000000 | ___PPC_RA(a) | IMM_L(i)) 508 #define PPC_RAW_CMPLDI(a, i) (0x28200000 | ___PPC_RA(a) | IMM_L(i)) 519 #define PPC_RAW_MULI(d, a, i) (0x1c000000 | ___PPC_RT(d) | ___PPC_RA(a) | IMM_L(i)) 527 #define PPC_RAW_ANDI(d, a, i) (0x70000000 | ___PPC_RA(d) | ___PPC_RS(a) | IMM_L(i)) 532 #define PPC_RAW_ORI(d, a, i) (0x60000000 | ___PPC_RA(d) | ___PPC_RS(a) | IMM_L(i)) [all …]
|
/linux/arch/powerpc/net/ |
A D | bpf_jit_comp32.c | 197 EMIT(PPC_RAW_ORI(_R0, _R0, IMM_L(func))); in bpf_jit_emit_func_call_rel() 344 if (IMM_L(imm)) in bpf_jit_build_body() 345 EMIT(PPC_RAW_ADDI(dst_reg, dst_reg, IMM_L(imm))); in bpf_jit_build_body() 501 EMIT(PPC_RAW_ANDI(dst_reg, dst_reg, IMM_L(imm))); in bpf_jit_build_body() 502 } else if (!IMM_L(imm)) { in bpf_jit_build_body() 525 if (IMM_L(imm)) in bpf_jit_build_body() 526 EMIT(PPC_RAW_ORI(dst_reg, dst_reg, IMM_L(imm))); in bpf_jit_build_body() 550 if (IMM_L(imm)) in bpf_jit_build_body() 551 EMIT(PPC_RAW_XORI(dst_reg, dst_reg, IMM_L(imm))); in bpf_jit_build_body()
|
A D | bpf_jit_comp64.c | 361 EMIT(PPC_RAW_ADDI(dst_reg, dst_reg, IMM_L(imm))); in bpf_jit_build_body() 372 EMIT(PPC_RAW_ADDI(dst_reg, dst_reg, IMM_L(-imm))); in bpf_jit_build_body() 388 EMIT(PPC_RAW_MULI(dst_reg, dst_reg, IMM_L(imm))); in bpf_jit_build_body() 481 EMIT(PPC_RAW_ANDI(dst_reg, dst_reg, IMM_L(imm))); in bpf_jit_build_body() 499 if (IMM_L(imm)) in bpf_jit_build_body() 500 EMIT(PPC_RAW_ORI(dst_reg, dst_reg, IMM_L(imm))); in bpf_jit_build_body() 516 if (IMM_L(imm)) in bpf_jit_build_body() 517 EMIT(PPC_RAW_XORI(dst_reg, dst_reg, IMM_L(imm))); in bpf_jit_build_body()
|
A D | bpf_jit.h | 58 if (IMM_L(i)) \ 59 EMIT(PPC_RAW_ORI(d, d, IMM_L(i))); \
|
/linux/arch/powerpc/lib/ |
A 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))
|
Completed in 15 milliseconds