Lines Matching full:s8
73 static const s8 regmap[][2] = {
110 static s8 hi(const s8 *r) in hi()
115 static s8 lo(const s8 *r) in lo()
120 static void emit_hppa_copy(const s8 rs, const s8 rd, struct hppa_jit_context *ctx) in emit_hppa_copy()
129 static void emit_hppa_xor(const s8 r1, const s8 r2, const s8 r3, struct hppa_jit_context *ctx) in emit_hppa_xor()
141 static void emit_imm(const s8 rd, s32 imm, struct hppa_jit_context *ctx) in emit_imm()
156 static void emit_imm32(const s8 *rd, s32 imm, struct hppa_jit_context *ctx) in emit_imm32()
170 static void emit_imm64(const s8 *rd, s32 imm_hi, s32 imm_lo, in emit_imm64()
179 const s8 *r0 = regmap[BPF_REG_0]; in __build_epilogue()
219 static bool is_stacked(s8 reg) in is_stacked()
224 static const s8 *bpf_get_reg64_offset(const s8 *reg, const s8 *tmp, in bpf_get_reg64_offset()
237 static const s8 *bpf_get_reg64(const s8 *reg, const s8 *tmp, in bpf_get_reg64()
243 static const s8 *bpf_get_reg64_ref(const s8 *reg, const s8 *tmp, in bpf_get_reg64_ref()
260 static void bpf_put_reg64(const s8 *reg, const s8 *src, in bpf_put_reg64()
280 static const s8 *bpf_get_reg32(const s8 *reg, const s8 *tmp, in bpf_get_reg32()
291 static const s8 *bpf_get_reg32_ref(const s8 *reg, const s8 *tmp, in bpf_get_reg32_ref()
304 static void bpf_put_reg32(const s8 *reg, const s8 *src, in bpf_put_reg32()
325 static void emit_call_millicode(void *func, const s8 arg0, in emit_call_millicode()
326 const s8 arg1, u8 opcode, struct hppa_jit_context *ctx) in emit_call_millicode()
359 static void emit_call_libgcc_ll(void *func, const s8 *arg0, in emit_call_libgcc_ll()
360 const s8 *arg1, u8 opcode, struct hppa_jit_context *ctx) in emit_call_libgcc_ll()
421 static void emit_alu_i64(const s8 *dst, s32 imm, in emit_alu_i64()
424 const s8 *tmp1 = regmap[TMP_REG_1]; in emit_alu_i64()
425 const s8 *rd; in emit_alu_i64()
509 static void emit_alu_i32(const s8 *dst, s32 imm, in emit_alu_i32()
512 const s8 *tmp1 = regmap[TMP_REG_1]; in emit_alu_i32()
513 const s8 *rd = bpf_get_reg32(dst, tmp1, ctx); in emit_alu_i32()
564 static void emit_alu_r64(const s8 *dst, const s8 *src, in emit_alu_r64()
567 const s8 *tmp1 = regmap[TMP_REG_1]; in emit_alu_r64()
568 const s8 *tmp2 = regmap[TMP_REG_2]; in emit_alu_r64()
569 const s8 *rd; in emit_alu_r64()
570 const s8 *rs = bpf_get_reg64(src, tmp2, ctx); in emit_alu_r64()
632 static void emit_alu_r32(const s8 *dst, const s8 *src, in emit_alu_r32()
635 const s8 *tmp1 = regmap[TMP_REG_1]; in emit_alu_r32()
636 const s8 *tmp2 = regmap[TMP_REG_2]; in emit_alu_r32()
637 const s8 *rd; in emit_alu_r32()
638 const s8 *rs = bpf_get_reg32(src, tmp2, ctx); in emit_alu_r32()
699 static int emit_branch_r64(const s8 *src1, const s8 *src2, s32 paoff, in emit_branch_r64()
703 const s8 *tmp1 = regmap[TMP_REG_1]; in emit_branch_r64()
704 const s8 *tmp2 = regmap[TMP_REG_2]; in emit_branch_r64()
706 const s8 *rs1 = bpf_get_reg64(src1, tmp1, ctx); in emit_branch_r64()
707 const s8 *rs2 = bpf_get_reg64(src2, tmp2, ctx); in emit_branch_r64()
866 static int emit_branch_r32(const s8 *src1, const s8 *src2, s32 paoff, in emit_branch_r32()
870 const s8 *tmp1 = regmap[TMP_REG_1]; in emit_branch_r32()
871 const s8 *tmp2 = regmap[TMP_REG_2]; in emit_branch_r32()
873 const s8 *rs1 = bpf_get_reg32(src1, tmp1, ctx); in emit_branch_r32()
874 const s8 *rs2 = bpf_get_reg32(src2, tmp2, ctx); in emit_branch_r32()
888 const s8 *tmp = regmap[TMP_REG_1]; in emit_call()
889 const s8 *r0 = regmap[BPF_REG_0]; in emit_call()
890 const s8 *reg; in emit_call()
951 const s8 *arr_reg = regmap[BPF_REG_2]; in emit_bpf_tail_call()
952 const s8 *idx_reg = regmap[BPF_REG_3]; in emit_bpf_tail_call()
1006 static int emit_load_r64(const s8 *dst, const s8 *src, s16 off, in emit_load_r64()
1009 const s8 *tmp1 = regmap[TMP_REG_1]; in emit_load_r64()
1010 const s8 *tmp2 = regmap[TMP_REG_2]; in emit_load_r64()
1011 const s8 *rd = bpf_get_reg64_ref(dst, tmp1, ctx->prog->aux->verifier_zext, ctx); in emit_load_r64()
1012 const s8 *rs = bpf_get_reg64(src, tmp2, ctx); in emit_load_r64()
1013 s8 srcreg; in emit_load_r64()
1052 static int emit_store_r64(const s8 *dst, const s8 *src, s16 off, in emit_store_r64()
1056 const s8 *tmp1 = regmap[TMP_REG_1]; in emit_store_r64()
1057 const s8 *tmp2 = regmap[TMP_REG_2]; in emit_store_r64()
1058 const s8 *rd = bpf_get_reg64(dst, tmp1, ctx); in emit_store_r64()
1059 const s8 *rs = bpf_get_reg64(src, tmp2, ctx); in emit_store_r64()
1060 s8 dstreg; in emit_store_r64()
1092 static void emit_rev16(const s8 rd, struct hppa_jit_context *ctx) in emit_rev16()
1099 static void emit_rev32(const s8 rs, const s8 rd, struct hppa_jit_context *ctx) in emit_rev32()
1106 static void emit_zext64(const s8 *dst, struct hppa_jit_context *ctx) in emit_zext64()
1108 const s8 *rd; in emit_zext64()
1109 const s8 *tmp1 = regmap[TMP_REG_1]; in emit_zext64()
1126 const s8 *dst = regmap[insn->dst_reg]; in bpf_jit_emit_insn()
1127 const s8 *src = regmap[insn->src_reg]; in bpf_jit_emit_insn()
1128 const s8 *tmp1 = regmap[TMP_REG_1]; in bpf_jit_emit_insn()
1129 const s8 *tmp2 = regmap[TMP_REG_2]; in bpf_jit_emit_insn()
1245 const s8 *rd = bpf_get_reg64(dst, tmp1, ctx); in bpf_jit_emit_insn()
1271 const s8 *rd = bpf_get_reg64(dst, tmp1, ctx); in bpf_jit_emit_insn()
1406 const s8 *rd = bpf_get_reg64_ref(dst, tmp1, false, ctx); in bpf_jit_emit_insn()
1469 const s8 *tmp = regmap[TMP_REG_1]; in bpf_jit_build_prologue()
1470 const s8 *dst, *reg; in bpf_jit_build_prologue()