Searched refs:bitpos (Results 1 - 25 of 55) sorted by relevance

123

/freebsd-9.3-release/lib/msun/src/
H A Ds_nan.c54 int bitpos; /* index into words (in bits) */ local
68 for (bitpos = 0; bitpos < 32 * num_words; bitpos += 4) {
70 for (bitpos = 32 * num_words - 4; bitpos >= 0; bitpos -= 4) {
74 words[bitpos / 32] |= digittoint(s[si]) << (bitpos % 32);
/freebsd-9.3-release/sys/contrib/dev/nve/
H A Dbasetype.h155 #define NV_BIT(bitpos) (1 << (bitpos))
159 // Parameter bits can be 1 byte to 4 bytes, but the caller needs to make sure bitpos fits into it.
163 #define NV_BIT_SET(bits, bitpos) ((bits) |= (NV_BIT(bitpos)))
167 // Parameter bits can be 1 byte to 4 bytes, but the caller needs to make sure bitpos fits into it.
171 #define NV_BIT_CLEAR(bits, bitpos) ((bits) &= (~NV_BIT(bitpos)))
175 // Parameter bits can be 1 byte to 4 bytes, but the caller needs to make sure bitpos fits into it.
180 #define NV_BIT_GET(bits, bitpos) (((bit
[all...]
/freebsd-9.3-release/contrib/gdb/gdb/
H A Dsparc64-tdep.c630 char *valbuf, int element, int bitpos)
641 gdb_assert (bitpos == 0);
649 gdb_assert (bitpos == 0 || bitpos == 64);
651 regnum = SPARC64_D0_REGNUM + element + bitpos / 64;
652 regcache_cooked_write (regcache, regnum, valbuf + (bitpos / 8));
657 gdb_assert (bitpos % 32 == 0 && bitpos >= 0 && bitpos < 128);
659 regnum = SPARC_F0_REGNUM + element * 2 + bitpos / 3
625 sparc64_store_floating_fields(struct regcache *regcache, struct type *type, char *valbuf, int element, int bitpos) argument
697 sparc64_extract_floating_fields(struct regcache *regcache, struct type *type, char *valbuf, int bitpos) argument
[all...]
H A Dvalues.c439 set_internalvar_component (struct internalvar *var, int offset, int bitpos,
446 bitpos, bitsize);
1042 int bitpos = TYPE_FIELD_BITPOS (type, fieldno);
1047 val = extract_unsigned_integer (valaddr + bitpos / 8, sizeof (val));
1054 lsbcount = (sizeof val * 8 - bitpos % 8 - bitsize);
1056 lsbcount = (bitpos % 8);
1083 modify_field (char *addr, LONGEST fieldval, int bitpos, int bitsize)
1109 bitpos = sizeof (oword) * 8 - bitpos - bitsize;
1113 oword &= ~(((((ULONGEST) 1) << bitsize) - 1) << bitpos);
436 set_internalvar_component(struct internalvar *var, int offset, int bitpos, int bitsize, struct value *newval) argument
1035 int bitpos = TYPE_FIELD_BITPOS (type, fieldno); local
1076 modify_field(char *addr, LONGEST fieldval, int bitpos, int bitsize) argument
[all...]
H A Dvalue.h79 int bitpos; member in struct:value
223 #define VALUE_BITPOS(val) (val)->bitpos
456 int bitpos, int bitsize,
497 extern void modify_field (char *addr, LONGEST fieldval, int bitpos,
H A Dcp-valprint.c702 int bitpos = TYPE_FIELD_BITPOS (domain, i); local
704 if (val == bitpos)
706 if (val < bitpos && i != 0)
H A Dp-valprint.c1060 int bitpos = TYPE_FIELD_BITPOS (domain, i);
1062 if (val == bitpos)
1064 if (val < bitpos && i != 0)
1058 int bitpos = TYPE_FIELD_BITPOS (domain, i); local
/freebsd-9.3-release/contrib/gcc/
H A Dstor-layout.c542 rli->bitpos = bitsize_zero_node;
552 the offset/bitpos forms and byte and bit offsets. */
555 bit_from_pos (tree offset, tree bitpos)
557 return size_binop (PLUS_EXPR, bitpos,
564 byte_from_pos (tree offset, tree bitpos)
568 size_binop (TRUNC_DIV_EXPR, bitpos,
615 print_node_brief (stderr, " bitpos", rli->bitpos, 0);
641 normalize_offset (&rli->offset, &rli->bitpos, rli->offset_align);
649 return byte_from_pos (rli->offset, rli->bitpos);
551 bit_from_pos(tree offset, tree bitpos) argument
560 byte_from_pos(tree offset, tree bitpos) argument
2128 get_best_mode(int bitsize, int bitpos, unsigned int align, enum machine_mode largest_mode, int volatilep) argument
[all...]
H A Dtree-vect-generic.c105 tree t, tree bitsize, tree bitpos)
107 if (bitpos)
108 return gimplify_build3 (bsi, BIT_FIELD_REF, type, t, bitsize, bitpos);
115 tree b ATTRIBUTE_UNUSED, tree bitpos, tree bitsize,
118 a = tree_vec_extract (bsi, inner_type, a, bitsize, bitpos);
124 tree bitpos, tree bitsize, enum tree_code code)
126 a = tree_vec_extract (bsi, inner_type, a, bitsize, bitpos);
127 b = tree_vec_extract (bsi, inner_type, b, bitsize, bitpos);
146 tree bitpos ATTRIBUTE_UNUSED, tree bitsize ATTRIBUTE_UNUSED,
157 a = tree_vec_extract (bsi, word_type, a, bitsize, bitpos);
104 tree_vec_extract(block_stmt_iterator *bsi, tree type, tree t, tree bitsize, tree bitpos) argument
114 do_unop(block_stmt_iterator *bsi, tree inner_type, tree a, tree b ATTRIBUTE_UNUSED, tree bitpos, tree bitsize, enum tree_code code) argument
123 do_binop(block_stmt_iterator *bsi, tree inner_type, tree a, tree b, tree bitpos, tree bitsize, enum tree_code code) argument
[all...]
H A Dexpmed.c353 unsigned HOST_WIDE_INT offset, bitpos;
449 bitpos = bitnum % unit;
453 if (bitpos == 0
505 bitpos += unit - GET_MODE_BITSIZE (GET_MODE (op0));
511 && (BYTES_BIG_ENDIAN ? bitpos + bitsize == unit : bitpos == 0)
640 && (bitsize + bitpos > GET_MODE_BITSIZE (op_mode)))
644 int xbitpos = bitpos;
686 bitpos = bitnum % unit;
692 store_bit_field (tempreg, bitsize, bitpos, fieldmod
352 unsigned HOST_WIDE_INT offset, bitpos; local
790 store_fixed_bit_field(rtx op0, unsigned HOST_WIDE_INT offset, unsigned HOST_WIDE_INT bitsize, unsigned HOST_WIDE_INT bitpos, rtx value) argument
958 store_split_bit_field(rtx op0, unsigned HOST_WIDE_INT bitsize, unsigned HOST_WIDE_INT bitpos, rtx value) argument
1095 unsigned HOST_WIDE_INT offset, bitpos; local
1699 extract_fixed_bit_field(enum machine_mode tmode, rtx op0, unsigned HOST_WIDE_INT offset, unsigned HOST_WIDE_INT bitsize, unsigned HOST_WIDE_INT bitpos, rtx target, int unsignedp) argument
1827 mask_rtx(enum machine_mode mode, int bitpos, int bitsize, int complement) argument
1868 lshift_value(enum machine_mode mode, rtx value, int bitpos, int bitsize) argument
1898 extract_force_align_mem_bit_field(rtx op0, unsigned HOST_WIDE_INT bitsize, unsigned HOST_WIDE_INT bitpos, int unsignedp) argument
2044 extract_split_bit_field(rtx op0, unsigned HOST_WIDE_INT bitsize, unsigned HOST_WIDE_INT bitpos, int unsignedp) argument
[all...]
H A Dexpr.c2069 unsigned HOST_WIDE_INT bitpos, xbitpos, padding_correction = 0;
2108 for (bitpos = 0, xbitpos = padding_correction;
2109 bitpos < bytes * BITS_PER_UNIT;
2110 bitpos += bitsize, xbitpos += bitsize)
2120 /* We need a new destination operand each time bitpos is on
2122 if (bitpos % BITS_PER_WORD == 0)
2123 dst = operand_subword (tgtblk, bitpos / BITS_PER_WORD, 1, BLKmode);
2127 store_bit_field (dst, bitsize, bitpos % BITS_PER_WORD, word_mode,
3886 unsigned HOST_WIDE_INT bitpos,
3921 str_mode = get_best_mode (bitsize, bitpos,
2064 unsigned HOST_WIDE_INT bitpos, xbitpos, padding_correction = 0; local
3873 optimize_bitfield_assignment_op(unsigned HOST_WIDE_INT bitsize, unsigned HOST_WIDE_INT bitpos, enum machine_mode mode1, rtx str_rtx, tree to, tree src) argument
4049 HOST_WIDE_INT bitsize, bitpos; local
4832 store_constructor_field(rtx target, unsigned HOST_WIDE_INT bitsize, HOST_WIDE_INT bitpos, enum machine_mode mode, tree exp, tree type, int cleared, int alias_set) argument
4944 HOST_WIDE_INT bitpos = 0; local
5145 HOST_WIDE_INT bitpos; local
5320 HOST_WIDE_INT bitpos; local
5450 store_field(rtx target, HOST_WIDE_INT bitsize, HOST_WIDE_INT bitpos, enum machine_mode mode, tree exp, tree type, int alias_set) argument
6490 HOST_WIDE_INT bitsize, bitpos; local
7430 HOST_WIDE_INT bitsize, bitpos; local
[all...]
H A Doptabs.c2431 int bitpos, word, nwords, i;
2441 bitpos = fmt->signbit_rw;
2442 if (bitpos < 0)
2462 word = (GET_MODE_BITSIZE (mode) - bitpos) / BITS_PER_WORD;
2464 word = bitpos / BITS_PER_WORD;
2465 bitpos = bitpos % BITS_PER_WORD;
2469 if (bitpos < HOST_BITS_PER_WIDE_INT)
2472 lo = (HOST_WIDE_INT) 1 << bitpos;
2476 hi = (HOST_WIDE_INT) 1 << (bitpos
2421 int bitpos, word, nwords, i; local
2922 expand_copysign_absneg(enum machine_mode mode, rtx op0, rtx op1, rtx target, int bitpos, bool op0_is_abs) argument
3002 expand_copysign_bit(enum machine_mode mode, rtx op0, rtx op1, rtx target, int bitpos, bool op0_is_abs) argument
[all...]
H A Dtree-vect-transform.c784 tree bitsize, bitpos, bytesize; local
957 tree bitpos = size_int (bit_offset); local
960 build2 (shift_code, vectype, new_temp, bitpos));
1005 tree bitpos = bitsize_int (bit_offset); local
1007 bitpos);
1028 s_out3 = extract_field <v_out2, bitpos> */
1038 bitpos = size_binop (MULT_EXPR,
1042 bitpos = bitsize_zero_node;
1044 rhs = build3 (BIT_FIELD_REF, scalar_type, new_temp, bitsize, bitpos);
H A Dc-typeck.c5766 tree bitpos;
5768 bitpos = bit_position (purpose);
5772 if (tree_int_cst_lt (bitpos, bit_position (p->purpose)))
5998 int byte, wchar_bytes, charwidth, bitpos;
6032 bitpos = (wchar_bytes - byte - 1) * charwidth;
6034 bitpos = byte * charwidth;
6035 val[bitpos < HOST_BITS_PER_WIDE_INT]
6037 << (bitpos % HOST_BITS_PER_WIDE_INT);
6043 bitpos = ((wchar_bytes - 1) * charwidth) + HOST_BITS_PER_CHAR;
6044 if (bitpos < HOST_BITS_PER_WIDE_IN
5735 tree bitpos; local
5967 int byte, wchar_bytes, charwidth, bitpos; local
6066 tree bitpos = bit_position (field); local
6204 tree bitpos, unfillpos; local
[all...]
H A Dstmt.c1632 unsigned HOST_WIDE_INT bitpos, xbitpos;
1668 for (bitpos = 0, xbitpos = padding_correction;
1669 bitpos < bytes * BITS_PER_UNIT;
1670 bitpos += bitsize, xbitpos += bitsize)
1686 /* We need a new source operand each time bitpos is on a word
1688 if (bitpos % BITS_PER_WORD == 0)
1690 bitpos / BITS_PER_WORD,
1693 /* Use bitpos for the source extraction (left justified) and
1697 bitpos % BITS_PER_WORD, 1,
1623 unsigned HOST_WIDE_INT bitpos, xbitpos; local
H A Dtree-ssa-alias.c3156 HOST_WIDE_INT bitpos; local
3158 ref = get_ref_base_and_extent (*tp, &bitpos, &bitsize, &bitmaxsize);
3168 if (bitpos <= up->minused)
3169 up->minused = bitpos;
3170 if ((bitpos + bitmaxsize >= up->maxused))
3171 up->maxused = bitpos + bitmaxsize;
/freebsd-9.3-release/contrib/binutils/opcodes/
H A Dia64-opc.c360 int bitpos[41];
368 bitpos[currstatenum] = 40;
374 int currbitnum = bitpos[currstatenum];
382 bitpos[currstatenum] = currbitnum;
526 bitpos[currstatenum] = currbitnum - 1;
352 int bitpos[41]; local
/freebsd-9.3-release/contrib/binutils/bfd/
H A Dreloc.c315 . unsigned int bitpos;
841 relocation <<= (bfd_vma) howto->bitpos;
1220 relocation <<= (bfd_vma) howto->bitpos;
1388 unsigned int bitpos = howto->bitpos; local
1438 b = (x & howto->src_mask & addrmask) >> bitpos;
1466 ss >>= bitpos; local
1515 relocation <<= (bfd_vma) bitpos;
/freebsd-9.3-release/contrib/binutils/binutils/
H A Ddebug.c289 unsigned int bitpos; member in struct:debug_field::__anon400::__anon401
308 unsigned int bitpos; member in struct:debug_baseclass
1684 bfd_vma bitpos, bfd_boolean virtual,
1693 b->bitpos = bitpos;
1708 debug_type type, bfd_vma bitpos, bfd_vma bitsize,
1719 f->u.f.bitpos = bitpos;
2273 return field->u.f.bitpos;
2541 || ! (*fns->struct_field) (fhandle, f->name, f->u.f.bitpos,
1681 debug_make_baseclass(void *handle ATTRIBUTE_UNUSED, debug_type type, bfd_vma bitpos, bfd_boolean virtual, enum debug_visibility visibility) argument
1705 debug_make_field(void *handle ATTRIBUTE_UNUSED, const char *name, debug_type type, bfd_vma bitpos, bfd_vma bitsize, enum debug_visibility visibility) argument
[all...]
H A Drdcoff.c401 bfd_vma bitpos = 0, bitsize = 0;
434 bitpos = 8 * bfd_asymbol_value (sym);
439 bitpos = bfd_asymbol_value (sym);
456 bitpos, bitsize, DEBUG_VISIBILITY_PUBLIC);
400 bfd_vma bitpos = 0, bitsize = 0; local
H A Dieee.c1543 bfd_vma bitpos, bitsize; local
1550 || ! ieee_read_number (info, pp, &bitpos)
1562 ftype, bitpos, bitsize,
2610 bfd_vma bitpos; local
2651 bitpos = 0;
2681 bitpos = debug_get_field_bitpos (dhandle, *pf);
2693 baseclass = debug_make_baseclass (dhandle, basetype, bitpos,
2853 bfd_vma bitpos, bitsize; local
2855 bitpos = debug_get_field_bitpos (dhandle, *pf);
2857 if (bitpos
5921 ieee_struct_field(void *p, const char *name, bfd_vma bitpos, bfd_vma bitsize, enum debug_visibility visibility) argument
6195 ieee_class_baseclass(void *p, bfd_vma bitpos, bfd_boolean virtual, enum debug_visibility visibility) argument
[all...]
H A Dprdbg.c1123 pr_struct_field (void *p, const char *name, bfd_vma bitpos, bfd_vma bitsize,
1145 print_vma (bitpos, ab, TRUE, FALSE);
1146 if (! append_type (info, "bitpos ")
1305 pr_class_baseclass (void *p, bfd_vma bitpos, bfd_boolean virtual,
1356 if (bitpos != 0)
1358 print_vma (bitpos, ab, TRUE, FALSE);
1359 if (! append_type (info, " /* bitpos ")
1365 /* Now the top of the stack is something like "public A / * bitpos
2049 tg_struct_field (void *p, const char *name, bfd_vma bitpos ATTRIBUTE_UNUSED,
2191 tg_class_baseclass (void *p, bfd_vma bitpos ATTRIBUTE_UNUSE
1118 pr_struct_field(void *p, const char *name, bfd_vma bitpos, bfd_vma bitsize, enum debug_visibility visibility) argument
1300 pr_class_baseclass(void *p, bfd_vma bitpos, bfd_boolean virtual, enum debug_visibility visibility) argument
[all...]
H A Dstabs.c2100 bfd_vma bitpos; local
2139 bitpos = parse_number (pp, (bfd_boolean *) NULL);
2152 classes[i] = debug_make_baseclass (dhandle, type, bitpos, virtual,
2279 bfd_vma bitpos; local
2343 bitpos = parse_number (pp, (bfd_boolean *) NULL);
2351 *retp = debug_make_field (dhandle, name, type, bitpos, 0,
2370 bfd_vma bitpos; local
2441 bitpos = parse_number (pp, (bfd_boolean *) NULL);
2457 if (bitpos == 0 && bitsize == 0)
2477 *retp = debug_make_field (dhandle, name, type, bitpos, bitsiz
[all...]
/freebsd-9.3-release/sys/fs/nfsserver/
H A Dnfs_nfsdsubs.c1676 int prefixnum, retnum = 0, i, len, bitpos, rderrbit = 0, nonrefbit = 0; local
1719 for (bitpos = 0; bitpos < NFSATTRBIT_MAX; bitpos++) {
1720 if (NFSISSET_ATTRBIT(&tmpbits, bitpos)) {
1721 switch (bitpos) {
1778 printf("EEK! Bad V4 refattr bitpos=%d\n", bitpos);
/freebsd-9.3-release/sys/fs/nfs/
H A Dnfs_commonsubs.c786 int i = 0, j, k, l = 0, m, bitpos, attrsum = 0; local
867 for (bitpos = 0; bitpos < NFSATTRBIT_MAX; bitpos++) {
872 if (NFSISSET_ATTRBIT(&attrbits, bitpos))
873 switch (bitpos) {
1719 bitpos);
1726 bitpos = NFSATTRBIT_MAX;
1975 int bitpos, retnum = 0; local
2068 for (bitpos
[all...]

Completed in 353 milliseconds

123