Lines Matching refs:dst
289 const u8 dst = regmap[insn->dst_reg]; in emit_atomic() local
295 emit_insn(ctx, addd, t1, dst, t1); in emit_atomic()
470 const u8 dst = regmap[insn->dst_reg]; in build_insn() local
481 move_reg(ctx, dst, src); in build_insn()
482 emit_zext_32(ctx, dst, is32); in build_insn()
486 emit_insn(ctx, extwb, dst, t1); in build_insn()
487 emit_zext_32(ctx, dst, is32); in build_insn()
491 emit_insn(ctx, extwh, dst, t1); in build_insn()
492 emit_zext_32(ctx, dst, is32); in build_insn()
495 emit_insn(ctx, addw, dst, src, LOONGARCH_GPR_ZERO); in build_insn()
503 move_imm(ctx, dst, imm, is32); in build_insn()
509 emit_insn(ctx, addd, dst, dst, src); in build_insn()
510 emit_zext_32(ctx, dst, is32); in build_insn()
517 emit_insn(ctx, addid, dst, dst, imm); in build_insn()
520 emit_insn(ctx, addd, dst, dst, t1); in build_insn()
522 emit_zext_32(ctx, dst, is32); in build_insn()
528 emit_insn(ctx, subd, dst, dst, src); in build_insn()
529 emit_zext_32(ctx, dst, is32); in build_insn()
536 emit_insn(ctx, addid, dst, dst, -imm); in build_insn()
539 emit_insn(ctx, subd, dst, dst, t1); in build_insn()
541 emit_zext_32(ctx, dst, is32); in build_insn()
547 emit_insn(ctx, muld, dst, dst, src); in build_insn()
548 emit_zext_32(ctx, dst, is32); in build_insn()
555 emit_insn(ctx, muld, dst, dst, t1); in build_insn()
556 emit_zext_32(ctx, dst, is32); in build_insn()
563 emit_zext_32(ctx, dst, is32); in build_insn()
566 emit_insn(ctx, divdu, dst, dst, t1); in build_insn()
567 emit_zext_32(ctx, dst, is32); in build_insn()
569 emit_sext_32(ctx, dst, is32); in build_insn()
572 emit_insn(ctx, divd, dst, dst, t1); in build_insn()
573 emit_sext_32(ctx, dst, is32); in build_insn()
582 emit_zext_32(ctx, dst, is32); in build_insn()
583 emit_insn(ctx, divdu, dst, dst, t1); in build_insn()
584 emit_zext_32(ctx, dst, is32); in build_insn()
588 emit_sext_32(ctx, dst, is32); in build_insn()
589 emit_insn(ctx, divd, dst, dst, t1); in build_insn()
590 emit_sext_32(ctx, dst, is32); in build_insn()
598 emit_zext_32(ctx, dst, is32); in build_insn()
601 emit_insn(ctx, moddu, dst, dst, t1); in build_insn()
602 emit_zext_32(ctx, dst, is32); in build_insn()
604 emit_sext_32(ctx, dst, is32); in build_insn()
607 emit_insn(ctx, modd, dst, dst, t1); in build_insn()
608 emit_sext_32(ctx, dst, is32); in build_insn()
617 emit_zext_32(ctx, dst, is32); in build_insn()
618 emit_insn(ctx, moddu, dst, dst, t1); in build_insn()
619 emit_zext_32(ctx, dst, is32); in build_insn()
623 emit_sext_32(ctx, dst, is32); in build_insn()
624 emit_insn(ctx, modd, dst, dst, t1); in build_insn()
625 emit_sext_32(ctx, dst, is32); in build_insn()
633 emit_insn(ctx, subd, dst, LOONGARCH_GPR_ZERO, dst); in build_insn()
634 emit_zext_32(ctx, dst, is32); in build_insn()
640 emit_insn(ctx, and, dst, dst, src); in build_insn()
641 emit_zext_32(ctx, dst, is32); in build_insn()
648 emit_insn(ctx, andi, dst, dst, imm); in build_insn()
651 emit_insn(ctx, and, dst, dst, t1); in build_insn()
653 emit_zext_32(ctx, dst, is32); in build_insn()
659 emit_insn(ctx, or, dst, dst, src); in build_insn()
660 emit_zext_32(ctx, dst, is32); in build_insn()
667 emit_insn(ctx, ori, dst, dst, imm); in build_insn()
670 emit_insn(ctx, or, dst, dst, t1); in build_insn()
672 emit_zext_32(ctx, dst, is32); in build_insn()
678 emit_insn(ctx, xor, dst, dst, src); in build_insn()
679 emit_zext_32(ctx, dst, is32); in build_insn()
686 emit_insn(ctx, xori, dst, dst, imm); in build_insn()
689 emit_insn(ctx, xor, dst, dst, t1); in build_insn()
691 emit_zext_32(ctx, dst, is32); in build_insn()
696 emit_insn(ctx, sllw, dst, dst, src); in build_insn()
697 emit_zext_32(ctx, dst, is32); in build_insn()
701 emit_insn(ctx, slld, dst, dst, src); in build_insn()
706 emit_insn(ctx, slliw, dst, dst, imm); in build_insn()
707 emit_zext_32(ctx, dst, is32); in build_insn()
711 emit_insn(ctx, sllid, dst, dst, imm); in build_insn()
716 emit_insn(ctx, srlw, dst, dst, src); in build_insn()
717 emit_zext_32(ctx, dst, is32); in build_insn()
721 emit_insn(ctx, srld, dst, dst, src); in build_insn()
726 emit_insn(ctx, srliw, dst, dst, imm); in build_insn()
727 emit_zext_32(ctx, dst, is32); in build_insn()
731 emit_insn(ctx, srlid, dst, dst, imm); in build_insn()
736 emit_insn(ctx, sraw, dst, dst, src); in build_insn()
737 emit_zext_32(ctx, dst, is32); in build_insn()
741 emit_insn(ctx, srad, dst, dst, src); in build_insn()
746 emit_insn(ctx, sraiw, dst, dst, imm); in build_insn()
747 emit_zext_32(ctx, dst, is32); in build_insn()
751 emit_insn(ctx, sraid, dst, dst, imm); in build_insn()
759 emit_insn(ctx, bstrpickd, dst, dst, 15, 0); in build_insn()
763 emit_zext_32(ctx, dst, is32); in build_insn()
775 emit_insn(ctx, revb2h, dst, dst); in build_insn()
777 emit_insn(ctx, bstrpickd, dst, dst, 15, 0); in build_insn()
780 emit_insn(ctx, revb2w, dst, dst); in build_insn()
782 emit_zext_32(ctx, dst, true); in build_insn()
785 emit_insn(ctx, revbd, dst, dst); in build_insn()
812 move_reg(ctx, t1, dst); in build_insn()
854 move_reg(ctx, t2, dst); in build_insn()
870 emit_insn(ctx, and, t1, dst, src); in build_insn()
881 emit_insn(ctx, and, t1, dst, t1); in build_insn()
933 move_imm(ctx, dst, imm64, is32); in build_insn()
959 emit_insn(ctx, ldb, dst, src, off); in build_insn()
961 emit_insn(ctx, ldbu, dst, src, off); in build_insn()
965 emit_insn(ctx, ldxb, dst, src, t1); in build_insn()
967 emit_insn(ctx, ldxbu, dst, src, t1); in build_insn()
973 emit_insn(ctx, ldh, dst, src, off); in build_insn()
975 emit_insn(ctx, ldhu, dst, src, off); in build_insn()
979 emit_insn(ctx, ldxh, dst, src, t1); in build_insn()
981 emit_insn(ctx, ldxhu, dst, src, t1); in build_insn()
987 emit_insn(ctx, ldw, dst, src, off); in build_insn()
989 emit_insn(ctx, ldwu, dst, src, off); in build_insn()
993 emit_insn(ctx, ldxw, dst, src, t1); in build_insn()
995 emit_insn(ctx, ldxwu, dst, src, t1); in build_insn()
1000 emit_insn(ctx, ldxd, dst, src, t1); in build_insn()
1004 ret = add_exception_handler(insn, ctx, dst); in build_insn()
1018 emit_insn(ctx, stb, t1, dst, off); in build_insn()
1021 emit_insn(ctx, stxb, t1, dst, t2); in build_insn()
1027 emit_insn(ctx, sth, t1, dst, off); in build_insn()
1030 emit_insn(ctx, stxh, t1, dst, t2); in build_insn()
1036 emit_insn(ctx, stw, t1, dst, off); in build_insn()
1038 emit_insn(ctx, stptrw, t1, dst, off); in build_insn()
1041 emit_insn(ctx, stxw, t1, dst, t2); in build_insn()
1047 emit_insn(ctx, std, t1, dst, off); in build_insn()
1049 emit_insn(ctx, stptrd, t1, dst, off); in build_insn()
1052 emit_insn(ctx, stxd, t1, dst, t2); in build_insn()
1066 emit_insn(ctx, stb, src, dst, off); in build_insn()
1069 emit_insn(ctx, stxb, src, dst, t1); in build_insn()
1074 emit_insn(ctx, sth, src, dst, off); in build_insn()
1077 emit_insn(ctx, stxh, src, dst, t1); in build_insn()
1082 emit_insn(ctx, stw, src, dst, off); in build_insn()
1084 emit_insn(ctx, stptrw, src, dst, off); in build_insn()
1087 emit_insn(ctx, stxw, src, dst, t1); in build_insn()
1092 emit_insn(ctx, std, src, dst, off); in build_insn()
1094 emit_insn(ctx, stptrd, src, dst, off); in build_insn()
1097 emit_insn(ctx, stxd, src, dst, t1); in build_insn()