Searched refs:sh_2 (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/lib/mpi/
H A Dgeneric_mpih-lshift.c44 unsigned sh_1, sh_2; mpihelp_lshift() local
50 sh_2 = BITS_PER_MPI_LIMB - sh_1; mpihelp_lshift()
53 retval = low_limb >> sh_2; mpihelp_lshift()
57 wp[i] = (high_limb << sh_1) | (low_limb >> sh_2); mpihelp_lshift()
H A Dgeneric_mpih-rshift.c45 unsigned sh_1, sh_2; mpihelp_rshift() local
51 sh_2 = BITS_PER_MPI_LIMB - sh_1; mpihelp_rshift()
53 retval = high_limb << sh_2; mpihelp_rshift()
57 wp[i] = (low_limb >> sh_1) | (high_limb << sh_2); mpihelp_rshift()
/linux-4.1.27/arch/nios2/lib/
H A Dmemcpy.c31 #define MERGE(w0, sh_1, w1, sh_2) (((w0) >> (sh_1)) | ((w1) << (sh_2)))
116 int sh_1, sh_2; _wordcopy_fwd_dest_aligned() local
122 sh_2 = 8 * OPSIZ - sh_1; _wordcopy_fwd_dest_aligned()
137 ((op_t *) dstp)[0] = MERGE(ap, sh_1, a0, sh_2); _wordcopy_fwd_dest_aligned()
138 ((op_t *) dstp)[1] = MERGE(a0, sh_1, a1, sh_2); _wordcopy_fwd_dest_aligned()
139 ((op_t *) dstp)[2] = MERGE(a1, sh_1, a2, sh_2); _wordcopy_fwd_dest_aligned()
140 ((op_t *) dstp)[3] = MERGE(a2, sh_1, a3, sh_2); _wordcopy_fwd_dest_aligned()
151 ((op_t *) dstp)[0] = MERGE(ap, sh_1, a0, sh_2); _wordcopy_fwd_dest_aligned()
/linux-4.1.27/arch/parisc/lib/
H A Dmemcpy.c82 #define MERGE(w0, sh_1, w1, sh_2) ({ \
88 : "r"(w0), "r"(w1), "r"(sh_2) \
171 int sh_1, sh_2; copy_dstaligned() local
178 sh_2 = 8 * sizeof(unsigned int) - sh_1; copy_dstaligned()
233 /* ((unsigned int *) dst)[0] = MERGE (a2, sh_1, a3, sh_2); */ copy_dstaligned()
234 stw(d_space, MERGE (a2, sh_1, a3, sh_2), 0, dst, cda_stw_exc); copy_dstaligned()
238 /* ((unsigned int *) dst)[1] = MERGE (a3, sh_1, a0, sh_2); */ copy_dstaligned()
239 stw(d_space, MERGE (a3, sh_1, a0, sh_2), 4, dst, cda_stw_exc); copy_dstaligned()
243 /* ((unsigned int *) dst)[2] = MERGE (a0, sh_1, a1, sh_2); */ copy_dstaligned()
244 stw(d_space, MERGE (a0, sh_1, a1, sh_2), 8, dst, cda_stw_exc); copy_dstaligned()
248 /* ((unsigned int *) dst)[3] = MERGE (a1, sh_1, a2, sh_2); */ copy_dstaligned()
249 stw(d_space, MERGE (a1, sh_1, a2, sh_2), 12, dst, cda_stw_exc); copy_dstaligned()
258 /* ((unsigned int *) dst)[0] = MERGE (a2, sh_1, a3, sh_2); */ copy_dstaligned()
259 stw(d_space, MERGE (a2, sh_1, a3, sh_2), 0, dst, cda_stw_exc); copy_dstaligned()

Completed in 218 milliseconds