/src/common/lib/libc/arch/or1k/string/ |
memcpy.c | 40 combine_words(unsigned long w1, unsigned long w2, int shift1, int shift2) 43 return (w1 << shift1) | (w2 >> shift2); 45 return (w1 >> shift1) | (w2 << shift2); 90 const int shift1 = offset * 8; local in function:memcpy 91 const int shift2 = sizeof(*la) * 8 - shift1; 100 la[0] = combine_words(w1, w2, shift1, shift2); 104 la[1] = combine_words(w2, w1, shift1, shift2); 108 la[2] = combine_words(w1, w2, shift1, shift2); 112 la[3] = combine_words(w2, w1, shift1, shift2); 121 *la++ = combine_words(w1, w2, shift1, shift2) [all...] |
memcpy.c | 40 combine_words(unsigned long w1, unsigned long w2, int shift1, int shift2) 43 return (w1 << shift1) | (w2 >> shift2); 45 return (w1 >> shift1) | (w2 << shift2); 90 const int shift1 = offset * 8; local in function:memcpy 91 const int shift2 = sizeof(*la) * 8 - shift1; 100 la[0] = combine_words(w1, w2, shift1, shift2); 104 la[1] = combine_words(w2, w1, shift1, shift2); 108 la[2] = combine_words(w1, w2, shift1, shift2); 112 la[3] = combine_words(w2, w1, shift1, shift2); 121 *la++ = combine_words(w1, w2, shift1, shift2) [all...] |