| /src/external/gpl3/gcc/dist/libgcc/config/pru/ |
| asri.c | 2 Arithmetic right shift 29 int __pruabi_asri(int a, unsigned char shift) 32 return a >> shift;
|
| /src/external/gpl3/gcc.old/dist/libgcc/config/pru/ |
| asri.c | 2 Arithmetic right shift 29 int __pruabi_asri(int a, unsigned char shift) 32 return a >> shift;
|
| /src/external/gpl3/gcc/dist/libgfortran/intrinsics/ |
| ishftc.c | 32 ishftc4 (GFC_INTEGER_4 i, GFC_INTEGER_4 shift, GFC_INTEGER_4 size) 36 if (shift < 0) 37 shift = shift + size; 39 if (shift == 0 || shift == size) 42 /* In C, the result of the shift operator is undefined if the right operand 49 return (i & ~mask) | ((bits << shift) & mask) | (bits >> (size - shift)); 56 ishftc8 (GFC_INTEGER_8 i, GFC_INTEGER_4 shift, GFC_INTEGER_4 size [all...] |
| /src/external/gpl3/gcc.old/dist/libgfortran/intrinsics/ |
| ishftc.c | 32 ishftc4 (GFC_INTEGER_4 i, GFC_INTEGER_4 shift, GFC_INTEGER_4 size) 36 if (shift < 0) 37 shift = shift + size; 39 if (shift == 0 || shift == size) 42 /* In C, the result of the shift operator is undefined if the right operand 49 return (i & ~mask) | ((bits << shift) & mask) | (bits >> (size - shift)); 56 ishftc8 (GFC_INTEGER_8 i, GFC_INTEGER_4 shift, GFC_INTEGER_4 size [all...] |
| /src/sys/dev/sun/ |
| btreg.h | 77 #define BT_INIT(bt, shift) do { /* whatever this means.. */ \ 78 (bt)->bt_addr = 0x06 << (shift); /* command reg */ \ 79 (bt)->bt_ctrl = 0x73 << (shift); /* overlay plane */ \ 80 (bt)->bt_addr = 0x04 << (shift); /* read mask */ \ 81 (bt)->bt_ctrl = 0xff << (shift); /* color planes */ \ 83 #define BT_UNBLANK(bt, x, shift) do { \ 85 (bt)->bt_addr = 0 << (shift); \ 87 if ((shift)) { \ 91 BT_INIT((bt), (shift)); \ 93 #define BT_BLANK(bt, shift) do { [all...] |
| /src/common/lib/libc/quad/ |
| ashldi3.c | 48 * Shift a (signed) quad value left (arithmetic shift left). 49 * This is the same as logical shift left! 52 __ashldi3(quad_t a, qshift_t shift) 56 if (shift == 0) 59 if (shift >= INT_BITS) { 60 aa.ul[H] = aa.ul[L] << (unsigned int)(shift - INT_BITS); 63 aa.ul[H] = (aa.ul[H] << shift) | 64 (aa.ul[L] >> (INT_BITS - shift)); 65 aa.ul[L] <<= shift; [all...] |
| lshldi3.c | 50 * Shift an (unsigned) quad value left (logical shift left). 51 * This is the same as arithmetic shift left! 54 __lshldi3(quad_t a, qshift_t shift) 58 if (shift == 0) 61 if (shift >= INT_BITS) { 62 aa.ul[H] = aa.ul[L] << (unsigned int)(shift - INT_BITS); 65 aa.ul[H] = (aa.ul[H] << shift) | 66 (aa.ul[L] >> (INT_BITS - shift)); 67 aa.ul[L] <<= shift; [all...] |
| lshrdi3.c | 50 * Shift an (unsigned) quad value right (logical shift right). 53 __lshrdi3(quad_t a, qshift_t shift) 57 if (shift == 0) 60 if (shift >= INT_BITS) { 61 aa.ul[L] = aa.ul[H] >> (shift - INT_BITS); 64 aa.ul[L] = (aa.ul[L] >> shift) | 65 (aa.ul[H] << (unsigned int)(INT_BITS - shift)); 66 aa.ul[H] >>= shift;
|
| ashrdi3.c | 50 * Shift a (signed) quad value right (arithmetic shift right). 53 __ashrdi3(quad_t a, qshift_t shift) 57 if (shift == 0) 60 if (shift >= INT_BITS) { 64 * Smear bits rightward using the machine's right-shift 67 * INT_BITS is undefined, so we shift (INT_BITS-1), 73 aa.ul[L] = aa.sl[H] >> (shift - INT_BITS); 76 aa.ul[L] = (aa.ul[L] >> shift) | 77 (aa.ul[H] << (unsigned int)(INT_BITS - shift)); [all...] |
| /src/external/gpl3/gdb/dist/sim/testsuite/bfin/ |
| c_logi2op_log_l_shft_astat.S | 1 # Test ASTAT bits with logical left shift (<<=) 8 .macro __do val:req, shift:req, exp:req 12 R2 <<= \shift; 14 CHECKREG R2, (\val << \shift); 20 R2 <<= \shift; 25 .macro _do shift:req, val:req 27 .if ((\val << \shift) & 0xffffffff) == 0 28 __do \val, \shift, _AZ 30 .if (\val << \shift) == 0x80000000 31 __do \val, \shift, _A [all...] |
| c_logi2op_log_r_shft_astat.S | 1 # Test ASTAT bits with logical right shift (>>=) 8 .macro __do val:req, shift:req, exp:req 12 R2 >>= \shift; 14 CHECKREG R2, (\val >> \shift); 20 R2 >>= \shift; 25 .macro _do shift:req, val:req 27 .if ((\val >> \shift) & 0xffffffff) == 0 28 __do \val, \shift, _AZ 30 .if (\val >> \shift) == 0x80000000 31 __do \val, \shift, _A [all...] |
| /src/external/gpl3/gdb.old/dist/sim/testsuite/bfin/ |
| c_logi2op_log_l_shft_astat.S | 1 # Test ASTAT bits with logical left shift (<<=) 8 .macro __do val:req, shift:req, exp:req 12 R2 <<= \shift; 14 CHECKREG R2, (\val << \shift); 20 R2 <<= \shift; 25 .macro _do shift:req, val:req 27 .if ((\val << \shift) & 0xffffffff) == 0 28 __do \val, \shift, _AZ 30 .if (\val << \shift) == 0x80000000 31 __do \val, \shift, _A [all...] |
| c_logi2op_log_r_shft_astat.S | 1 # Test ASTAT bits with logical right shift (>>=) 8 .macro __do val:req, shift:req, exp:req 12 R2 >>= \shift; 14 CHECKREG R2, (\val >> \shift); 20 R2 >>= \shift; 25 .macro _do shift:req, val:req 27 .if ((\val >> \shift) & 0xffffffff) == 0 28 __do \val, \shift, _AZ 30 .if (\val >> \shift) == 0x80000000 31 __do \val, \shift, _A [all...] |
| /src/crypto/external/bsd/openssl/dist/ssl/record/ |
| dtls1_bitmap.c | 41 unsigned int shift; local 49 shift = -cmp; 50 if (shift >= sizeof(bitmap->map) * 8) 52 else if (bitmap->map & (1UL << shift)) 62 unsigned int shift; local 67 shift = cmp; 68 if (shift < sizeof(bitmap->map) * 8) 69 bitmap->map <<= shift, bitmap->map |= 1UL; 74 shift = -cmp; 75 if (shift < sizeof(bitmap->map) * 8 [all...] |
| /src/crypto/external/bsd/openssl.old/dist/ssl/record/ |
| dtls1_bitmap.c | 41 unsigned int shift; local 49 shift = -cmp; 50 if (shift >= sizeof(bitmap->map) * 8) 52 else if (bitmap->map & (1UL << shift)) 62 unsigned int shift; local 67 shift = cmp; 68 if (shift < sizeof(bitmap->map) * 8) 69 bitmap->map <<= shift, bitmap->map |= 1UL; 74 shift = -cmp; 75 if (shift < sizeof(bitmap->map) * 8 [all...] |
| /src/external/lgpl3/gmp/dist/mpn/generic/ |
| div_qr_2u_pi1.c | 46 mp_limb_t d1, mp_limb_t d0, int shift, mp_limb_t di) 54 ASSERT (shift > 0); 56 r2 = np[nn-1] >> (GMP_LIMB_BITS - shift); 57 r1 = (np[nn-1] << shift) | (np[nn-2] >> (GMP_LIMB_BITS - shift)); 58 r0 = np[nn-2] << shift; 66 r1 |= r0 >> (GMP_LIMB_BITS - shift); 67 r0 <<= shift; local 72 rp[0] = (r1 >> shift) | (r2 << (GMP_LIMB_BITS - shift)); [all...] |
| /src/external/gpl3/gdb.old/dist/gdb/dwarf2/ |
| leb.c | 35 int shift; local 39 shift = 0; 46 result |= ((ULONGEST) (byte & 127) << shift); 51 shift += 7; 62 int shift, num_read; local 66 shift = 0; 73 result |= ((ULONGEST) (byte & 127) << shift); 74 shift += 7; 80 if ((shift < 8 * sizeof (result)) && (byte & 0x40)) 81 result |= -(((ULONGEST) 1) << shift); [all...] |
| /src/external/gpl3/gdb/dist/gdb/dwarf2/ |
| leb.c | 35 int shift; local 39 shift = 0; 46 result |= ((ULONGEST) (byte & 127) << shift); 51 shift += 7; 62 int shift, num_read; local 66 shift = 0; 73 result |= ((ULONGEST) (byte & 127) << shift); 74 shift += 7; 80 if ((shift < 8 * sizeof (result)) && (byte & 0x40)) 81 result |= -(((ULONGEST) 1) << shift); [all...] |
| /src/sys/external/bsd/drm2/dist/include/drm/ |
| drm_fixed.h | 101 unsigned shift, sign = (a >> 63) & 1; local 103 for (shift = 62; shift > 0; --shift) 104 if (((a >> shift) & 1) != sign) 105 return shift; 112 unsigned shift = drm_fixp_msbset(a) + drm_fixp_msbset(b); local 115 if (shift > 61) { 116 shift = shift - 61 118 b >>= shift >> 1; local 135 unsigned shift = 62 - drm_fixp_msbset(a); local 138 a <<= shift; local [all...] |
| /src/lib/libc/stdlib/ |
| a64l.c | 23 long value, digit, shift; local 29 shift = 0; 40 value |= digit << shift; 41 shift += 6;
|
| /src/external/gpl3/gcc/dist/libgcc/soft-fp/ |
| floatbitintbf.c | 36 USItype shift = 0; local 41 FP_FROM_BITINT (i, iprec, iv, shift, SI); 44 if (shift) 46 A_e += shift;
|
| floatbitintdf.c | 36 USItype shift = 0; local 41 FP_FROM_BITINT (i, iprec, iv, shift, DI); 44 if (shift) 46 A_e += shift;
|
| floatbitinthf.c | 36 USItype shift = 0; local 41 FP_FROM_BITINT (i, iprec, iv, shift, SI); 44 if (shift) 46 A_e += shift;
|
| floatbitintsf.c | 36 USItype shift = 0; local 41 FP_FROM_BITINT (i, iprec, iv, shift, SI); 44 if (shift) 46 A_e += shift;
|
| /src/external/gpl3/gdb.old/dist/sim/common/ |
| cgen-utils.c | 190 SHLDI (val, shift) 192 SI shift; 196 /* FIXME: Need to worry about shift < 0 || shift >= 32. */ 197 return MAKEDI ((hi << shift) | (lo >> (32 - shift)), lo << shift); 201 SLADI (val, shift) 203 SI shift; 207 /* FIXME: Need to worry about shift < 0 || shift >= 32. * [all...] |