Lines Matching defs:lo

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