Lines Matching full:hi

28  *                 |  hi(R9)  |
30 * | hi(FP) |
75 [BPF_REG_0] = {HPPA_REG_RET0, HPPA_REG_RET1}, /* HI/LOW */
110 static s8 hi(const s8 *r) in hi() function
163 REG_SET_SEEN(ctx, hi(rd)); in emit_imm32()
165 emit_hppa_copy(HPPA_REG_ZERO, hi(rd), ctx); in emit_imm32()
167 emit(hppa_ldi(-1, hi(rd)), ctx); in emit_imm32()
173 emit_imm(hi(rd), imm_hi, ctx); in emit_imm64()
227 if (is_stacked(hi(reg))) { in bpf_get_reg64_offset()
228 emit(hppa_ldw(REG_SIZE * hi(reg) - offset_sp, HPPA_REG_SP, hi(tmp)), ctx); in bpf_get_reg64_offset()
232 REG_SET_SEEN(ctx, hi(reg)); in bpf_get_reg64_offset()
249 if (is_stacked(hi(reg))) { in bpf_get_reg64_ref()
251 emit(hppa_ldw(REG_SIZE * hi(reg), HPPA_REG_SP, hi(tmp)), ctx); in bpf_get_reg64_ref()
254 REG_SET_SEEN(ctx, hi(reg)); in bpf_get_reg64_ref()
263 if (is_stacked(hi(reg))) { in bpf_put_reg64()
264 emit(hppa_stw(hi(src), REG_SIZE * hi(reg), HPPA_REG_SP), ctx); in bpf_put_reg64()
297 if (is_stacked(hi(reg))) { in bpf_get_reg32_ref()
311 REG_SET_SEEN(ctx, hi(reg)); in bpf_put_reg32()
312 emit(hppa_stw(HPPA_REG_ZERO, REG_SIZE * hi(reg), HPPA_REG_SP), ctx); in bpf_put_reg32()
315 REG_SET_SEEN(ctx, hi(reg)); in bpf_put_reg32()
316 emit_hppa_copy(HPPA_REG_ZERO, hi(reg), ctx); in bpf_put_reg32()
365 emit_hppa_copy(hi(arg0), HPPA_REG_ARG1, ctx); in emit_call_libgcc_ll()
367 emit_hppa_copy(hi(arg1), HPPA_REG_ARG3, ctx); in emit_call_libgcc_ll()
370 if (hi(arg0) != HPPA_REG_RET0) in emit_call_libgcc_ll()
393 emit_hppa_copy(HPPA_REG_RET0, hi(arg0), ctx); in emit_call_libgcc_ll()
397 if (hi(arg0) != HPPA_REG_RET0) in emit_call_libgcc_ll()
441 emit_hppa_copy(HPPA_REG_ZERO, hi(rd), ctx); in emit_alu_i64()
447 emit_imm(hi(rd), -1, ctx); in emit_alu_i64()
454 emit_hppa_xor(hi(rd), HPPA_REG_T0, hi(rd), ctx); in emit_alu_i64()
462 emit(hppa_zdep(lo(rd), imm, imm, hi(rd)), ctx); in emit_alu_i64()
465 emit_hppa_copy(lo(rd), hi(rd), ctx); in emit_alu_i64()
468 emit(hppa_shd(hi(rd), lo(rd), 32 - imm, hi(rd)), ctx); in emit_alu_i64()
477 emit(hppa_shr(hi(rd), imm, lo(rd)), ctx); in emit_alu_i64()
478 emit_hppa_copy(HPPA_REG_ZERO, hi(rd), ctx); in emit_alu_i64()
480 emit_hppa_copy(hi(rd), lo(rd), ctx); in emit_alu_i64()
481 emit_hppa_copy(HPPA_REG_ZERO, hi(rd), ctx); in emit_alu_i64()
483 emit(hppa_shrpw(hi(rd), lo(rd), imm, lo(rd)), ctx); in emit_alu_i64()
484 emit(hppa_shr(hi(rd), imm, hi(rd)), ctx); in emit_alu_i64()
492 emit(hppa_extrws(hi(rd), 31 - imm, imm, lo(rd)), ctx); in emit_alu_i64()
493 emit(hppa_extrws(hi(rd), 0, 31, hi(rd)), ctx); in emit_alu_i64()
495 emit_hppa_copy(hi(rd), lo(rd), ctx); in emit_alu_i64()
496 emit(hppa_extrws(hi(rd), 0, 31, hi(rd)), ctx); in emit_alu_i64()
498 emit(hppa_shrpw(hi(rd), lo(rd), imm, lo(rd)), ctx); in emit_alu_i64()
499 emit(hppa_extrws(hi(rd), 31 - imm, imm, hi(rd)), ctx); in emit_alu_i64()
581 emit_hppa_copy(hi(rs), hi(rd), ctx); in emit_alu_r64()
585 emit(hppa_addc(hi(rd), hi(rs), hi(rd)), ctx); in emit_alu_r64()
589 emit(hppa_subb(hi(rd), hi(rs), hi(rd)), ctx); in emit_alu_r64()
593 emit(hppa_and(hi(rd), hi(rs), hi(rd)), ctx); in emit_alu_r64()
597 emit(hppa_or(hi(rd), hi(rs), hi(rd)), ctx); in emit_alu_r64()
601 emit_hppa_xor(hi(rd), hi(rs), hi(rd), ctx); in emit_alu_r64()
623 emit(hppa_subb(HPPA_REG_ZERO, hi(rd), hi(rd)), ctx); in emit_alu_r64()
722 emit(hppa_bne(hi(rs1), hi(rs2), NO_JUMP(1)), ctx); in emit_branch_r64()
726 emit(hppa_bgtu(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64()
727 emit(hppa_bltu(hi(rs1), hi(rs2), NO_JUMP(1)), ctx); in emit_branch_r64()
731 emit(hppa_bltu(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64()
732 emit(hppa_bgtu(hi(rs1), hi(rs2), NO_JUMP(1)), ctx); in emit_branch_r64()
736 emit(hppa_bgtu(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64()
737 emit(hppa_bltu(hi(rs1), hi(rs2), NO_JUMP(1)), ctx); in emit_branch_r64()
741 emit(hppa_bltu(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64()
742 emit(hppa_bgtu(hi(rs1), hi(rs2), NO_JUMP(1)), ctx); in emit_branch_r64()
746 emit(hppa_bne(hi(rs1), hi(rs2), JUMP(1)), ctx); in emit_branch_r64()
750 emit(hppa_bgt(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64()
751 emit(hppa_blt(hi(rs1), hi(rs2), NO_JUMP(1)), ctx); in emit_branch_r64()
755 emit(hppa_blt(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64()
756 emit(hppa_bgt(hi(rs1), hi(rs2), NO_JUMP(1)), ctx); in emit_branch_r64()
760 emit(hppa_bgt(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64()
761 emit(hppa_blt(hi(rs1), hi(rs2), NO_JUMP(1)), ctx); in emit_branch_r64()
765 emit(hppa_blt(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64()
766 emit(hppa_bgt(hi(rs1), hi(rs2), NO_JUMP(1)), ctx); in emit_branch_r64()
770 emit(hppa_and(hi(rs1), hi(rs2), HPPA_REG_T0), ctx); in emit_branch_r64()
898 emit(hppa_stw(hi(reg), -0x48, HPPA_REG_SP), ctx); in emit_call()
902 emit(hppa_stw(hi(reg), -0x40, HPPA_REG_SP), ctx); in emit_call()
906 emit(hppa_stw(hi(reg), -0x38, HPPA_REG_SP), ctx); in emit_call()
910 emit_hppa_copy(hi(reg), HPPA_REG_ARG3, ctx); in emit_call()
914 emit_hppa_copy(hi(reg), HPPA_REG_ARG1, ctx); in emit_call()
939 emit_hppa_copy(HPPA_REG_RET0, hi(r0), ctx); in emit_call()
1030 emit_hppa_copy(HPPA_REG_ZERO, hi(rd), ctx); in emit_load_r64()
1035 emit_hppa_copy(HPPA_REG_ZERO, hi(rd), ctx); in emit_load_r64()
1040 emit_hppa_copy(HPPA_REG_ZERO, hi(rd), ctx); in emit_load_r64()
1043 emit(hppa_ldw(off + 0, srcreg, hi(rd)), ctx); in emit_load_r64()
1084 emit(hppa_stw(hi(rs), off + 0, dstreg), ctx); in emit_store_r64()
1112 emit_hppa_copy(HPPA_REG_ZERO, hi(rd), ctx); in emit_zext64()
1255 emit_hppa_copy(HPPA_REG_ZERO, hi(rd), ctx); in bpf_jit_emit_insn()
1277 emit_hppa_copy(HPPA_REG_ZERO, hi(rd), ctx); in bpf_jit_emit_insn()
1282 emit_hppa_copy(HPPA_REG_ZERO, hi(rd), ctx); in bpf_jit_emit_insn()
1286 emit_hppa_copy(hi(rd), HPPA_REG_T0, ctx); in bpf_jit_emit_insn()
1287 emit_rev32(lo(rd), hi(rd), ctx); in bpf_jit_emit_insn()
1549 if (REG_WAS_SEEN(ctx, lo(reg)) | REG_WAS_SEEN(ctx, hi(reg))) { in bpf_jit_build_prologue()
1550 if (REG_WAS_SEEN(ctx, hi(reg))) in bpf_jit_build_prologue()
1551 emit(hppa_ldw(-0x48, HPPA_REG_R1, hi(reg)), ctx); in bpf_jit_build_prologue()
1559 if (REG_WAS_SEEN(ctx, lo(reg)) | REG_WAS_SEEN(ctx, hi(reg))) { in bpf_jit_build_prologue()
1560 if (REG_WAS_SEEN(ctx, hi(reg))) in bpf_jit_build_prologue()
1561 emit(hppa_ldw(-0x40, HPPA_REG_R1, hi(reg)), ctx); in bpf_jit_build_prologue()
1569 if (REG_WAS_SEEN(ctx, lo(reg)) | REG_WAS_SEEN(ctx, hi(reg))) { in bpf_jit_build_prologue()
1570 if (REG_WAS_SEEN(ctx, hi(reg))) in bpf_jit_build_prologue()
1571 emit(hppa_ldw(-0x38, HPPA_REG_R1, hi(reg)), ctx); in bpf_jit_build_prologue()
1579 if (REG_WAS_SEEN(ctx, lo(reg)) | REG_WAS_SEEN(ctx, hi(reg))) { in bpf_jit_build_prologue()
1580 if (REG_WAS_SEEN(ctx, hi(reg))) in bpf_jit_build_prologue()
1581 emit_hppa_copy(HPPA_REG_ARG3, hi(reg), ctx); in bpf_jit_build_prologue()
1589 if (REG_WAS_SEEN(ctx, lo(reg)) | REG_WAS_SEEN(ctx, hi(reg))) { in bpf_jit_build_prologue()
1590 if (REG_WAS_SEEN(ctx, hi(reg))) in bpf_jit_build_prologue()
1591 emit_hppa_copy(HPPA_REG_ARG1, hi(reg), ctx); in bpf_jit_build_prologue()
1600 if (REG_WAS_SEEN(ctx, lo(reg)) | REG_WAS_SEEN(ctx, hi(reg))) { in bpf_jit_build_prologue()
1604 if (REG_WAS_SEEN(ctx, hi(reg))) in bpf_jit_build_prologue()
1605 emit_hppa_copy(HPPA_REG_ZERO, hi(reg), ctx); in bpf_jit_build_prologue()