Lines Matching refs:dst

590 	uint32_t dst, src, saved;  in atom_op_add()  local
593 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_add()
596 dst += src; in atom_op_add()
598 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_add()
604 uint32_t dst, src, saved; in atom_op_and() local
607 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_and()
610 dst &= src; in atom_op_and()
612 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_and()
651 uint32_t dst, src; in atom_op_compare() local
653 dst = atom_get_dst(ctx, arg, attr, ptr, NULL, 1); in atom_op_compare()
656 ctx->ctx->cs_equal = (dst == src); in atom_op_compare()
657 ctx->ctx->cs_above = (dst > src); in atom_op_compare()
677 uint32_t dst, src; in atom_op_div() local
679 dst = atom_get_dst(ctx, arg, attr, ptr, NULL, 1); in atom_op_div()
683 ctx->ctx->divmul[0] = dst / src; in atom_op_div()
684 ctx->ctx->divmul[1] = dst % src; in atom_op_div()
752 uint32_t dst, mask, src, saved; in atom_op_mask() local
755 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_mask()
760 dst &= mask; in atom_op_mask()
761 dst |= src; in atom_op_mask()
763 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_mask()
786 uint32_t dst, src; in atom_op_mul() local
788 dst = atom_get_dst(ctx, arg, attr, ptr, NULL, 1); in atom_op_mul()
791 ctx->ctx->divmul[0] = dst * src; in atom_op_mul()
802 uint32_t dst, src, saved; in atom_op_or() local
805 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_or()
808 dst |= src; in atom_op_or()
810 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_or()
892 uint32_t saved, dst; in atom_op_shift_left() local
897 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_shift_left()
900 dst <<= shift; in atom_op_shift_left()
902 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_shift_left()
908 uint32_t saved, dst; in atom_op_shift_right() local
913 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_shift_right()
916 dst >>= shift; in atom_op_shift_right()
918 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_shift_right()
924 uint32_t saved, dst; in atom_op_shl() local
928 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_shl()
930 dst = saved; in atom_op_shl()
933 dst <<= shift; in atom_op_shl()
934 dst &= atom_arg_mask[dst_align]; in atom_op_shl()
935 dst >>= atom_arg_shift[dst_align]; in atom_op_shl()
937 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_shl()
943 uint32_t saved, dst; in atom_op_shr() local
947 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_shr()
949 dst = saved; in atom_op_shr()
952 dst >>= shift; in atom_op_shr()
953 dst &= atom_arg_mask[dst_align]; in atom_op_shr()
954 dst >>= atom_arg_shift[dst_align]; in atom_op_shr()
956 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_shr()
962 uint32_t dst, src, saved; in atom_op_sub() local
965 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_sub()
968 dst -= src; in atom_op_sub()
970 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_sub()
1003 uint32_t dst, src; in atom_op_test() local
1005 dst = atom_get_dst(ctx, arg, attr, ptr, NULL, 1); in atom_op_test()
1008 ctx->ctx->cs_equal = ((dst & src) == 0); in atom_op_test()
1015 uint32_t dst, src, saved; in atom_op_xor() local
1018 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_xor()
1021 dst ^= src; in atom_op_xor()
1023 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_xor()