Lines Matching refs:dst

587 	uint32_t dst, src, saved;  in atom_op_add()  local
590 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_add()
593 dst += src; in atom_op_add()
595 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_add()
601 uint32_t dst, src, saved; in atom_op_and() local
604 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_and()
607 dst &= src; in atom_op_and()
609 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_and()
648 uint32_t dst, src; in atom_op_compare() local
650 dst = atom_get_dst(ctx, arg, attr, ptr, NULL, 1); in atom_op_compare()
653 ctx->ctx->cs_equal = (dst == src); in atom_op_compare()
654 ctx->ctx->cs_above = (dst > src); in atom_op_compare()
674 uint32_t dst, src; in atom_op_div() local
676 dst = atom_get_dst(ctx, arg, attr, ptr, NULL, 1); in atom_op_div()
680 ctx->ctx->divmul[0] = dst / src; in atom_op_div()
681 ctx->ctx->divmul[1] = dst % src; in atom_op_div()
692 uint32_t dst, src; in atom_op_div32() local
694 dst = atom_get_dst(ctx, arg, attr, ptr, NULL, 1); in atom_op_div32()
698 val64 = dst; in atom_op_div32()
770 uint32_t dst, mask, src, saved; in atom_op_mask() local
773 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_mask()
778 dst &= mask; in atom_op_mask()
779 dst |= src; in atom_op_mask()
781 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_mask()
804 uint32_t dst, src; in atom_op_mul() local
806 dst = atom_get_dst(ctx, arg, attr, ptr, NULL, 1); in atom_op_mul()
809 ctx->ctx->divmul[0] = dst * src; in atom_op_mul()
816 uint32_t dst, src; in atom_op_mul32() local
818 dst = atom_get_dst(ctx, arg, attr, ptr, NULL, 1); in atom_op_mul32()
821 val64 = (uint64_t)dst * (uint64_t)src; in atom_op_mul32()
834 uint32_t dst, src, saved; in atom_op_or() local
837 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_or()
840 dst |= src; in atom_op_or()
842 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_or()
924 uint32_t saved, dst; in atom_op_shift_left() local
929 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_shift_left()
932 dst <<= shift; in atom_op_shift_left()
934 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_shift_left()
940 uint32_t saved, dst; in atom_op_shift_right() local
945 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_shift_right()
948 dst >>= shift; in atom_op_shift_right()
950 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_shift_right()
956 uint32_t saved, dst; in atom_op_shl() local
960 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_shl()
962 dst = saved; in atom_op_shl()
965 dst <<= shift; in atom_op_shl()
966 dst &= atom_arg_mask[dst_align]; in atom_op_shl()
967 dst >>= atom_arg_shift[dst_align]; in atom_op_shl()
969 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_shl()
975 uint32_t saved, dst; in atom_op_shr() local
979 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_shr()
981 dst = saved; in atom_op_shr()
984 dst >>= shift; in atom_op_shr()
985 dst &= atom_arg_mask[dst_align]; in atom_op_shr()
986 dst >>= atom_arg_shift[dst_align]; in atom_op_shr()
988 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_shr()
994 uint32_t dst, src, saved; in atom_op_sub() local
997 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_sub()
1000 dst -= src; in atom_op_sub()
1002 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_sub()
1035 uint32_t dst, src; in atom_op_test() local
1037 dst = atom_get_dst(ctx, arg, attr, ptr, NULL, 1); in atom_op_test()
1040 ctx->ctx->cs_equal = ((dst & src) == 0); in atom_op_test()
1047 uint32_t dst, src, saved; in atom_op_xor() local
1050 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_xor()
1053 dst ^= src; in atom_op_xor()
1055 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_xor()