Lines Matching full:lo

27  *                 |  lo(R9)  |
29 * | lo(FP) | JIT scratch space for BPF registers
115 static s8 lo(const s8 *r) in lo() function
159 REG_SET_SEEN(ctx, lo(rd)); in emit_imm32()
160 emit_imm(lo(rd), imm, ctx); in emit_imm32()
174 emit_imm(lo(rd), imm_lo, ctx); in emit_imm64()
203 emit_hppa_copy(lo(r0), HPPA_REG_RET0, ctx); in __build_epilogue()
229 emit(hppa_ldw(REG_SIZE * lo(reg) - offset_sp, HPPA_REG_SP, lo(tmp)), ctx); in bpf_get_reg64_offset()
233 REG_SET_SEEN(ctx, lo(reg)); in bpf_get_reg64_offset()
255 REG_SET_SEEN(ctx, lo(reg)); in bpf_get_reg64_ref()
265 emit(hppa_stw(lo(src), REG_SIZE * lo(reg), HPPA_REG_SP), ctx); in bpf_put_reg64()
283 if (is_stacked(lo(reg))) { in bpf_get_reg32()
284 emit(hppa_ldw(REG_SIZE * lo(reg), HPPA_REG_SP, lo(tmp)), ctx); in bpf_get_reg32()
287 REG_SET_SEEN(ctx, lo(reg)); in bpf_get_reg32()
300 REG_SET_SEEN(ctx, lo(reg)); in bpf_get_reg32_ref()
307 if (is_stacked(lo(reg))) { in bpf_put_reg32()
308 REG_SET_SEEN(ctx, lo(src)); in bpf_put_reg32()
309 emit(hppa_stw(lo(src), REG_SIZE * lo(reg), HPPA_REG_SP), ctx); in bpf_put_reg32()
364 emit_hppa_copy(lo(arg0), HPPA_REG_ARG0, ctx); in emit_call_libgcc_ll()
366 emit_hppa_copy(lo(arg1), HPPA_REG_ARG2, ctx); in emit_call_libgcc_ll()
394 emit_hppa_copy(HPPA_REG_RET1, lo(arg0), ctx); in emit_call_libgcc_ll()
439 emit(hppa_and(lo(rd), HPPA_REG_T0, lo(rd)), ctx); in emit_alu_i64()
445 emit(hppa_or(lo(rd), HPPA_REG_T0, lo(rd)), ctx); in emit_alu_i64()
451 emit_hppa_xor(lo(rd), HPPA_REG_T0, lo(rd), ctx); in emit_alu_i64()
462 emit(hppa_zdep(lo(rd), imm, imm, hi(rd)), ctx); in emit_alu_i64()
463 emit_hppa_copy(HPPA_REG_ZERO, lo(rd), ctx); in emit_alu_i64()
465 emit_hppa_copy(lo(rd), hi(rd), ctx); in emit_alu_i64()
466 emit_hppa_copy(HPPA_REG_ZERO, lo(rd), ctx); in emit_alu_i64()
468 emit(hppa_shd(hi(rd), lo(rd), 32 - imm, hi(rd)), ctx); in emit_alu_i64()
469 emit(hppa_zdep(lo(rd), imm, imm, lo(rd)), ctx); in emit_alu_i64()
477 emit(hppa_shr(hi(rd), imm, lo(rd)), ctx); in emit_alu_i64()
480 emit_hppa_copy(hi(rd), lo(rd), ctx); in emit_alu_i64()
483 emit(hppa_shrpw(hi(rd), lo(rd), imm, lo(rd)), ctx); in emit_alu_i64()
492 emit(hppa_extrws(hi(rd), 31 - imm, imm, lo(rd)), ctx); in emit_alu_i64()
495 emit_hppa_copy(hi(rd), lo(rd), ctx); in emit_alu_i64()
498 emit(hppa_shrpw(hi(rd), lo(rd), imm, lo(rd)), ctx); in emit_alu_i64()
523 emit_imm(lo(rd), imm, ctx); in emit_alu_i32()
527 emit(hppa_add(lo(rd), HPPA_REG_T0, lo(rd)), ctx); in emit_alu_i32()
531 emit(hppa_sub(lo(rd), HPPA_REG_T0, lo(rd)), ctx); in emit_alu_i32()
535 emit(hppa_and(lo(rd), HPPA_REG_T0, lo(rd)), ctx); in emit_alu_i32()
539 emit(hppa_or(lo(rd), HPPA_REG_T0, lo(rd)), ctx); in emit_alu_i32()
543 emit_hppa_xor(lo(rd), HPPA_REG_T0, lo(rd), ctx); in emit_alu_i32()
547 emit(hppa_zdep(lo(rd), imm, imm, lo(rd)), ctx); in emit_alu_i32()
551 emit(hppa_shr(lo(rd), imm, lo(rd)), ctx); in emit_alu_i32()
555 emit(hppa_extrws(lo(rd), 31 - imm, imm, lo(rd)), ctx); in emit_alu_i32()
580 emit_hppa_copy(lo(rs), lo(rd), ctx); in emit_alu_r64()
584 emit(hppa_add(lo(rd), lo(rs), lo(rd)), ctx); in emit_alu_r64()
588 emit(hppa_sub(lo(rd), lo(rs), lo(rd)), ctx); in emit_alu_r64()
592 emit(hppa_and(lo(rd), lo(rs), lo(rd)), ctx); in emit_alu_r64()
596 emit(hppa_or(lo(rd), lo(rs), lo(rd)), ctx); in emit_alu_r64()
600 emit_hppa_xor(lo(rd), lo(rs), lo(rd), ctx); in emit_alu_r64()
622 emit(hppa_sub(HPPA_REG_ZERO, lo(rd), lo(rd)), ctx); in emit_alu_r64()
648 emit_hppa_copy(lo(rs), lo(rd), ctx); in emit_alu_r32()
651 emit(hppa_add(lo(rd), lo(rs), lo(rd)), ctx); in emit_alu_r32()
654 emit(hppa_sub(lo(rd), lo(rs), lo(rd)), ctx); in emit_alu_r32()
657 emit(hppa_and(lo(rd), lo(rs), lo(rd)), ctx); in emit_alu_r32()
660 emit(hppa_or(lo(rd), lo(rs), lo(rd)), ctx); in emit_alu_r32()
663 emit_hppa_xor(lo(rd), lo(rs), lo(rd), ctx); in emit_alu_r32()
666 emit_call_millicode($$mulI, lo(rd), lo(rs), op, ctx); in emit_alu_r32()
669 emit_call_millicode($$divU, lo(rd), lo(rs), op, ctx); in emit_alu_r32()
672 emit_call_millicode($$remU, lo(rd), lo(rs), op, ctx); in emit_alu_r32()
675 emit(hppa_subi(0x1f, lo(rs), HPPA_REG_T0), ctx); in emit_alu_r32()
677 emit(hppa_depwz_sar(lo(rd), lo(rd)), ctx); in emit_alu_r32()
680 emit(hppa_mtsar(lo(rs)), ctx); in emit_alu_r32()
681 emit(hppa_shrpw_sar(lo(rd), lo(rd)), ctx); in emit_alu_r32()
684 // emit(hppa_beq(lo(rs), HPPA_REG_ZERO, 2), ctx); in emit_alu_r32()
685 emit(hppa_subi(0x1f, lo(rs), HPPA_REG_T0), ctx); in emit_alu_r32()
687 emit(hppa_extrws_sar(lo(rd), lo(rd)), ctx); in emit_alu_r32()
690 emit(hppa_sub(HPPA_REG_ZERO, lo(rd), lo(rd)), ctx); // sub r0,rd,rd in emit_alu_r32()
723 emit(hppa_bne(lo(rs1), lo(rs2), NO_JUMP(0)), ctx); in emit_branch_r64()
728 emit(hppa_bleu(lo(rs1), lo(rs2), NO_JUMP(0)), ctx); in emit_branch_r64()
733 emit(hppa_bgeu(lo(rs1), lo(rs2), NO_JUMP(0)), ctx); in emit_branch_r64()
738 emit(hppa_bltu(lo(rs1), lo(rs2), NO_JUMP(0)), ctx); in emit_branch_r64()
743 emit(hppa_bgtu(lo(rs1), lo(rs2), NO_JUMP(0)), ctx); in emit_branch_r64()
747 emit(hppa_beq(lo(rs1), lo(rs2), NO_JUMP(0)), ctx); in emit_branch_r64()
752 emit(hppa_bleu(lo(rs1), lo(rs2), NO_JUMP(0)), ctx); in emit_branch_r64()
757 emit(hppa_bgeu(lo(rs1), lo(rs2), NO_JUMP(0)), ctx); in emit_branch_r64()
762 emit(hppa_bltu(lo(rs1), lo(rs2), NO_JUMP(0)), ctx); in emit_branch_r64()
767 emit(hppa_bgtu(lo(rs1), lo(rs2), NO_JUMP(0)), ctx); in emit_branch_r64()
771 emit(hppa_and(lo(rs1), lo(rs2), HPPA_REG_T1), ctx); in emit_branch_r64()
880 if (emit_bcc(op, lo(rs1), lo(rs2), paoff, ctx)) in emit_branch_r32()
899 emit(hppa_stw(lo(reg), -0x44, HPPA_REG_SP), ctx); in emit_call()
903 emit(hppa_stw(lo(reg), -0x3c, HPPA_REG_SP), ctx); in emit_call()
907 emit(hppa_stw(lo(reg), -0x34, HPPA_REG_SP), ctx); in emit_call()
911 emit_hppa_copy(lo(reg), HPPA_REG_ARG2, ctx); in emit_call()
915 emit_hppa_copy(lo(reg), HPPA_REG_ARG0, ctx); in emit_call()
940 emit_hppa_copy(HPPA_REG_RET1, lo(r0), ctx); in emit_call()
962 emit(hppa_ldw(off, lo(arr_reg), HPPA_REG_T1), ctx); in emit_bpf_tail_call()
968 emit(hppa_bltu(lo(idx_reg), HPPA_REG_T1, 2 - HPPA_BRANCH_DISPLACEMENT), ctx); in emit_bpf_tail_call()
986 emit(hppa_sh2add(lo(idx_reg), lo(arr_reg), HPPA_REG_T0), ctx); in emit_bpf_tail_call()
1017 srcreg = lo(rs); in emit_load_r64()
1021 emit(hppa_addil(off, lo(rs)), ctx); in emit_load_r64()
1028 emit(hppa_ldb(off + 0, srcreg, lo(rd)), ctx); in emit_load_r64()
1033 emit(hppa_ldh(off + 0, srcreg, lo(rd)), ctx); in emit_load_r64()
1038 emit(hppa_ldw(off + 0, srcreg, lo(rd)), ctx); in emit_load_r64()
1044 emit(hppa_ldw(off + 4, srcreg, lo(rd)), ctx); in emit_load_r64()
1064 dstreg = lo(rd); in emit_store_r64()
1068 emit(hppa_addil(off, lo(rd)), ctx); in emit_store_r64()
1075 emit(hppa_stb(lo(rs), off + 0, dstreg), ctx); in emit_store_r64()
1078 emit(hppa_sth(lo(rs), off + 0, dstreg), ctx); in emit_store_r64()
1081 emit(hppa_stw(lo(rs), off + 0, dstreg), ctx); in emit_store_r64()
1085 emit(hppa_stw(lo(rs), off + 4, dstreg), ctx); in emit_store_r64()
1250 emit(hppa_extru(lo(rd), 31, 16, lo(rd)), ctx); in bpf_jit_emit_insn()
1275 emit_rev16(lo(rd), ctx); in bpf_jit_emit_insn()
1280 emit_rev32(lo(rd), lo(rd), ctx); in bpf_jit_emit_insn()
1287 emit_rev32(lo(rd), hi(rd), ctx); in bpf_jit_emit_insn()
1288 emit_rev32(HPPA_REG_T0, lo(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()
1552 if (REG_WAS_SEEN(ctx, lo(reg))) in bpf_jit_build_prologue()
1553 emit(hppa_ldw(-0x44, HPPA_REG_R1, lo(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()
1562 if (REG_WAS_SEEN(ctx, lo(reg))) in bpf_jit_build_prologue()
1563 emit(hppa_ldw(-0x3c, HPPA_REG_R1, lo(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()
1572 if (REG_WAS_SEEN(ctx, lo(reg))) in bpf_jit_build_prologue()
1573 emit(hppa_ldw(-0x34, HPPA_REG_R1, lo(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()
1582 if (REG_WAS_SEEN(ctx, lo(reg))) in bpf_jit_build_prologue()
1583 emit_hppa_copy(HPPA_REG_ARG2, lo(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()
1592 if (REG_WAS_SEEN(ctx, lo(reg))) in bpf_jit_build_prologue()
1593 emit_hppa_copy(HPPA_REG_ARG0, lo(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()
1601 if (REG_WAS_SEEN(ctx, lo(reg))) in bpf_jit_build_prologue()
1603 HPPA_REG_SP, lo(reg)), ctx); in bpf_jit_build_prologue()