/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); 91 const int shift2 = sizeof(*la) * 8 - shift1; local in function:memcpy 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);
|
/src/sys/external/bsd/sljit/dist/sljit_src/ |
sljitNativeMIPS_64.c | 34 sljit_s32 shift2; local in function:load_immediate 96 shift2 = shift - 16; 99 shift2 -= 4; 104 shift2 -= 2; 109 shift2--; 113 SLJIT_ASSERT((uimm & 0x8000000000000000l) && (shift2 > 0) && (shift2 <= 16)); 115 FAIL_IF(push_inst(compiler, DSLL | TA(dst_ar) | DA(dst_ar) | SH_IMM(shift - shift2), dst_ar)); 117 FAIL_IF(push_inst(compiler, DSLL | TA(dst_ar) | DA(dst_ar) | SH_IMM(shift2), dst_ar)); 119 imm &= (1l << shift2) - 1 [all...] |
sljitNativePPC_64.c | 51 sljit_uw shift2; local in function:load_immediate 101 ASM_SLJIT_CLZ(tmp2, shift2); 102 tmp2 <<= shift2; 106 shift2 += 15; 107 shift += (63 - shift2); 110 return PUSH_RLDICR(reg, shift2);
|