Searched refs:shift (Results 51 - 75 of 296) sorted by relevance

1234567891011>>

/freebsd-9.3-release/contrib/gcclibs/libdecnumber/
H A DdecUtility.c63 /* shift is the number of 0 digits to add on the right (normally 0) */
71 /* shift is used for 'fold-down' padding. */
76 decDensePackCoeff (const decNumber * dn, uByte * bytes, Int len, Int shift) argument
90 if (shift != 0)
91 { /* shift towards most significant required */
92 /* shift the units array to the left by pad digits and copy */
100 first = uar + D2U (digits + shift) - 1; /* where msu will end up */
101 target = uar + D2U (digits) - 1 + D2U (shift); /* where upper part of first cut goes */
103 cut = (DECDPUN - shift % DECDPUN) % DECDPUN;
119 digits += shift; /* ad
[all...]
/freebsd-9.3-release/contrib/binutils/gas/config/
H A Dtc-cr16.c1671 print_constant (int nbits, int shift, argument *arg) argument
1714 if ((instruction->size > 2) && (shift == WORD_SHIFT))
1728 CR16_PRINT (0, constant, shift);
1736 CR16_PRINT (0, ((constant)&0xf), shift); // 0-3 bits
1737 CR16_PRINT (0, ((constant>>4)&0x3), (shift+20)); // 4-5 bits
1738 CR16_PRINT (0, ((constant>>6)&0x3), (shift+14)); // 6-7 bits
1739 CR16_PRINT (0, ((constant>>8)&0x3f), (shift+8)); // 8-13 bits
1742 CR16_PRINT (0, constant, shift);
1748 /* When instruction size is 3 and 'shift' is 16, a 16-bit constant is
1758 if ((instruction->size > 2) && (shift
1782 print_operand(int nbits, int shift, argument *arg) argument
[all...]
/freebsd-9.3-release/contrib/bmake/mk/
H A Dmeta.stage.mk71 case "$$1" in "") return;; -m) mode=$$2; shift 2;; *) mode=;; esac; \
72 dest=$$1; shift; \
83 case "$$1" in "") return;; --) shift;; -*) ldest= lnf=$$1; shift;; /*) ldest=$$1/;; esac; \
84 dest=$$1; shift; \
88 l=$$ldest$$1; shift; \
91 shift; \
98 case "$$1" in "") return;; -m) mode=$$2; shift 2;; *) mode=;; esac; \
99 dest=$$1; shift; \
103 s=$$1; shift; \
[all...]
H A Dinstall-new.mk40 -?) _t=$$1; shift;; \
41 --bak) _bak=$$2; shift 2;; \
/freebsd-9.3-release/contrib/binutils/bfd/
H A Dcpu-ia64-opc.c68 *code |= value << self->field[0].shift;
75 *valuep = ((code >> self->field[0].shift)
89 << self->field[i].shift);
108 value |= ((code >> self->field[i].shift)
173 << self->field[i].shift);
194 val |= ((code >> self->field[i].shift)
318 *code |= value << self->field[0].shift;
325 *valuep = ((code >> self->field[0].shift)
338 *code |= value << self->field[0].shift;
345 *valuep = ((code >> self->field[0].shift)
[all...]
H A Dlibbfd.c998 unsigned int shift;
1002 shift = 0;
1009 result |= (((bfd_vma) byte & 0x7f) << shift);
1010 shift += 7;
1025 unsigned int shift;
1030 shift = 0;
1037 result |= (((bfd_vma) byte & 0x7f) << shift);
1038 shift += 7;
1041 if (shift < 8 * sizeof (result) && (byte & 0x40))
1042 result |= (((bfd_vma) -1) << shift);
995 unsigned int shift; local
1022 unsigned int shift; local
[all...]
/freebsd-9.3-release/contrib/gcc/config/
H A Dfp-bit.c260 shift the fraction to the right to make up for it. */
262 int shift = NORMAL_EXPMIN - src->normal_exp;
266 if (shift > FRAC_NBITS - NGARDS)
273 int lowbit = (fraction & (((fractype)1 << shift) - 1)) ? 1 : 0;
274 fraction = (fraction >> shift) | lowbit;
393 int shift;
395 shift = 1 - lowexp;
396 roundmsb = (1 << (shift - 1));
399 low >>= shift;
494 int shift;
[all...]
/freebsd-9.3-release/sys/ofed/drivers/infiniband/hw/mthca/
H A Dmthca_allocator.c199 int npages, shift; local
207 shift = get_order(size) + PAGE_SHIFT;
218 while (t & ((1 << shift) - 1)) {
219 --shift;
228 dma_list[i] = t + i * (1 << shift);
232 shift = PAGE_SHIFT;
261 dma_list, shift, npages,
/freebsd-9.3-release/sys/mips/atheros/
H A Dar724x_pci.c93 uint32_t val, mask, shift; local
96 shift = (offset & 3) * 8;
103 val &= ~(mask << shift);
104 val |= ((data & mask) << shift);
115 uint32_t data, shift, mask; local
118 shift = (reg & 3) * 8;
119 if (shift)
120 mask = (1 << shift) - 1;
133 data = (data >> shift) & mask;
/freebsd-9.3-release/contrib/gcc/config/arm/
H A Dpr-support.c206 int shift; local
211 shift = 2;
214 reg += ((op & 0x7f) << shift);
215 shift += 7;
218 reg += ((op & 0x7f) << shift) + 0x204;
/freebsd-9.3-release/contrib/opie/libopie/
H A Dbtoe.c2233 int shift; local
2235 shift = ((8 - ((start + length) % 8)) % 8);
2236 y = (long) x << shift;
2240 if (shift + length > 16) {
2245 if (shift + length > 8) {
/freebsd-9.3-release/share/mk/
H A Dbsd.man.mk182 page=$$1; shift; sect=$$1; shift; \
213 name=$$1; shift; sect=$$1; shift; \
215 name=$$1; shift; sect=$$1; shift; \
228 name=$$1; shift; sect=$$1; shift; \
230 name=$$1; shift; sect=$$1; shift; \
[all...]
H A Dbsd.incs.mk72 shift; \
74 shift; \
/freebsd-9.3-release/usr.bin/grep/regex/
H A Dtre-fastmatch.c132 if (u != 0 && (unsigned)mismatch == fg->wlen - 1 - shift) \
149 if (u != 0 && (unsigned)mismatch == fg->len - 1 - shift) \
163 shift = bc; \
167 shift = MAX(ts, bc); \
168 shift = MAX(shift, gs); \
169 if (shift == gs) \
170 u = MIN((type == STR_WIDE ? fg->wlen : fg->len) - shift, v); \
174 shift = MAX(shift,
845 unsigned int shift, u = 0, v = 0; local
[all...]
/freebsd-9.3-release/contrib/compiler-rt/lib/
H A Dfp_lib.h117 const int shift = rep_clz(*significand) - rep_clz(implicitBit); local
118 *significand <<= shift; local
119 return 1 - shift;
H A Dgcc_personality_v0.c86 uintptr_t shift = 0; local
91 result |= (byte & 0x7f) << shift;
92 shift += 7;
/freebsd-9.3-release/sys/dev/drm2/
H A Ddrm_os_freebsd.h101 * @shift: bits to roll
105 static inline uint32_t ror32(uint32_t word, unsigned int shift) argument
107 return (word >> shift) | (word << (32 - shift));
/freebsd-9.3-release/sys/mips/malta/
H A Dgt_pci.c430 uint32_t shift, mask; local
453 shift = 24;
456 shift = 16;
459 shift = 8;
462 shift = 0;
470 data = (data >> shift) & mask;
500 uint32_t shift, mask; local
511 shift = 8 * (reg & 3);
517 data = (reg_data & ~ (mask << shift)) | (data << shift);
[all...]
/freebsd-9.3-release/sys/x86/x86/
H A Dtsc.c528 int shift; local
584 for (shift = 0; shift <= 31 && (tsc_freq >> shift) > max_freq; shift++)
588 tsc_timecounter.tc_get_timecount = shift > 0 ?
592 tsc_timecounter.tc_get_timecount = shift > 0 ?
597 tsc_timecounter.tc_get_timecount = shift > 0 ?
600 if (shift > 0) {
604 shift);
[all...]
/freebsd-9.3-release/contrib/gdb/gdb/
H A Ddwarf2expr.c120 unsigned shift = 0; local
130 result |= (byte & 0x7f) << shift;
133 shift += 7;
146 unsigned shift = 0; local
156 result |= (byte & 0x7f) << shift;
157 shift += 7;
161 if (shift < (sizeof (*r) * 8) && (byte & 0x40) != 0)
162 result |= -(1 << shift);
/freebsd-9.3-release/contrib/binutils/opcodes/
H A Darc-opc.c373 insn |= marker << operand->shift;
382 insn |= ARC_REG_LIMM << operand->shift;
408 insn |= ARC_REG_SHIMM << operand->shift;
409 insn |= reg->value << arc_operands[reg->type].shift;
431 insn |= reg->value << operand->shift;
486 insn |= (value & ((1 << operand->bits) - 1)) << operand->shift;
508 insn |= (1 << operand->shift);
524 insn |= (value & ((1 << operand->bits) - 1)) << operand->shift;
554 addrwb_p = 1 << operand->shift;
569 myinsn = insert_reg (0, operand,mods, reg, value, errmsg) >> operand->shift;
[all...]
/freebsd-9.3-release/contrib/binutils/include/opcode/
H A Dalpha.h88 unsigned int shift : 5;
100 i |= (op & ((1 << o->bits) - 1)) << o->shift;
118 op = ((i) >> o->shift) & ((1 << o->bits) - 1);
87 unsigned int shift : 5; member in struct:alpha_operand
H A Dppc.h163 int shift;
169 i |= (op & o->bitm) << o->shift;
187 op = (i >> o->shift) & o->bitm;
162 int shift; member in struct:powerpc_operand
/freebsd-9.3-release/sys/boot/fdt/dts/
H A Dts7800.dts141 reg-shift = <2>;
150 reg-shift = <2>;
/freebsd-9.3-release/lib/libc/mips/gen/
H A Dldexp.S121 * Now shift t2,t3 the correct number of bits.
130 subu t9, t9, v0 # shift fraction left >= 32 bits
135 subu v0, v0, t9 # shift fraction left < 32 bits
159 srl t2, t2, 31 - 20 # shift fraction back to normal position
161 sll ta0, t2, t1 # shift right t2,t3 based on exponent
183 addu t1, t1, 20 # compute amount to shift right by

Completed in 131 milliseconds

1234567891011>>