Home
last modified time | relevance | path

Searched refs:BITS_PER_WORD (Results 1 – 25 of 77) sorted by relevance

1234

/dragonfly/contrib/byacc/
HDclosure.c76 unsigned k = BITS_PER_WORD; in set_first_derives()
80 if (k >= BITS_PER_WORD) in set_first_derives()
148 for (i = 0; i < BITS_PER_WORD; ++i) in closure()
161 ruleno += BITS_PER_WORD; in closure()
208 k = BITS_PER_WORD; in print_EFF()
211 if (k >= BITS_PER_WORD) in print_EFF()
238 k = BITS_PER_WORD; in print_first_derives()
241 if (k >= BITS_PER_WORD) in print_first_derives()
HDdefs.h69 #define BITS_PER_WORD ((int) sizeof (unsigned) * CHAR_BIT) macro
70 #define WORDSIZE(n) (((n)+(BITS_PER_WORD-1))/BITS_PER_WORD)
71 #define BIT(r, n) ((((r)[(n)/BITS_PER_WORD])>>((n)&(BITS_PER_WORD-1)))&1)
72 #define SETBIT(r, n) ((r)[(n)/BITS_PER_WORD]|=((unsigned)1<<((n)&(BITS_PER_WORD-1))))
HDwarshall.c46 if (++i >= BITS_PER_WORD) in transitive_closure()
74 if (++i >= BITS_PER_WORD) in reflexive_transitive_closure()
/dragonfly/contrib/gcc-8.0/gcc/
HDdefaults.h473 #ifndef BITS_PER_WORD
474 #define BITS_PER_WORD (BITS_PER_UNIT * UNITS_PER_WORD) macro
491 #define INT_TYPE_SIZE BITS_PER_WORD
495 #define LONG_TYPE_SIZE BITS_PER_WORD
499 #define LONG_LONG_TYPE_SIZE (BITS_PER_WORD * 2)
507 #define FLOAT_TYPE_SIZE BITS_PER_WORD
511 #define DOUBLE_TYPE_SIZE (BITS_PER_WORD * 2)
515 #define LONG_DOUBLE_TYPE_SIZE (BITS_PER_WORD * 2)
743 #define POINTER_SIZE BITS_PER_WORD
821 #define MALLOC_ABI_ALIGNMENT BITS_PER_WORD
[all …]
HDlower-subreg.c165 for (i = 0; i < BITS_PER_WORD; i++) in compute_splitting_shift()
168 i + BITS_PER_WORD); in compute_splitting_shift()
176 else if (i == BITS_PER_WORD - 1) in compute_splitting_shift()
180 BITS_PER_WORD - 1); in compute_splitting_shift()
185 i + BITS_PER_WORD, wide_cost, narrow_cost, upper_cost); in compute_splitting_shift()
1215 || !IN_RANGE (INTVAL (XEXP (op, 1)), BITS_PER_WORD, in find_decomposable_shift_zext()
1216 2 * BITS_PER_WORD - 1) in find_decomposable_shift_zext()
1217 || !splitting[INTVAL (XEXP (op, 1)) - BITS_PER_WORD]) in find_decomposable_shift_zext()
1294 && INTVAL (XEXP (op, 1)) != 2 * BITS_PER_WORD - 1) in resolve_shift_zext()
1296 BITS_PER_WORD - 1, NULL_RTX, 0); in resolve_shift_zext()
[all …]
HDexpmed.c551 if (bitsize > modesize || modesize > BITS_PER_WORD) in strict_volatile_bitfield_p()
904 if (bitsize > BITS_PER_WORD) in store_integral_bit_field()
913 unsigned int nwords = (bitsize + (BITS_PER_WORD - 1)) / BITS_PER_WORD; in store_integral_bit_field()
927 value_mode = smallest_int_mode_for_size (nwords * BITS_PER_WORD); in store_integral_bit_field()
940 * BITS_PER_WORD, in store_integral_bit_field()
942 : (int) i * BITS_PER_WORD); in store_integral_bit_field()
945 MIN (BITS_PER_WORD, bitsize - i * BITS_PER_WORD); in store_integral_bit_field()
950 if (new_bitsize < BITS_PER_WORD && BYTES_BIG_ENDIAN && !backwards) in store_integral_bit_field()
952 int shift = BITS_PER_WORD - new_bitsize; in store_integral_bit_field()
1000 if (bitnum % BITS_PER_WORD + bitsize > BITS_PER_WORD) in store_integral_bit_field()
[all …]
HDoptabs.c438 BITS_PER_WORD - 1), in expand_superword_shift()
465 if (CONSTANT_P (op1) || shift_mask >= BITS_PER_WORD) in expand_subword_shift()
468 tmp = immed_wide_int_const (wi::shwi (BITS_PER_WORD, in expand_subword_shift()
482 if (shift_mask == BITS_PER_WORD - 1) in expand_subword_shift()
491 tmp = immed_wide_int_const (wi::shwi (BITS_PER_WORD - 1, in expand_subword_shift()
633 if (shift_mask >= BITS_PER_WORD in expand_doubleword_shift()
652 tmp = immed_wide_int_const (wi::shwi (BITS_PER_WORD, op1_mode), op1_mode); in expand_doubleword_shift()
653 if (!CONSTANT_P (op1) && shift_mask == BITS_PER_WORD - 1) in expand_doubleword_shift()
796 : gen_int_shift_amount (word_mode, BITS_PER_WORD - 1)); in expand_doubleword_mult()
1372 for (i = 0; i < GET_MODE_BITSIZE (int_mode) / BITS_PER_WORD; i++) in expand_binop()
[all …]
HDexpr.c419 && GET_MODE_PRECISION (to_mode) > BITS_PER_WORD) in convert_mode_scalar()
443 else if (GET_MODE_PRECISION (from_mode) < BITS_PER_WORD in convert_mode_scalar()
472 if (GET_MODE_PRECISION (from_mode) < BITS_PER_WORD) in convert_mode_scalar()
510 if (GET_MODE_PRECISION (from_mode) > BITS_PER_WORD in convert_mode_scalar()
511 && GET_MODE_PRECISION (to_mode) <= BITS_PER_WORD) in convert_mode_scalar()
2647 unsigned HOST_WIDE_INT bitsize = MIN (TYPE_ALIGN (type), BITS_PER_WORD); in copy_blkmode_from_reg()
2671 = (BITS_PER_WORD - ((bytes % UNITS_PER_WORD) * BITS_PER_UNIT)); in copy_blkmode_from_reg()
2719 else if (REG_P (target) && GET_MODE_BITSIZE (tmode) < BITS_PER_WORD) in copy_blkmode_from_reg()
2729 if (xbitpos % BITS_PER_WORD == 0 || xbitpos == padding_correction) in copy_blkmode_from_reg()
2730 src = operand_subword_force (srcreg, xbitpos / BITS_PER_WORD, mode); in copy_blkmode_from_reg()
[all …]
HDtarghooks.c424 if (precision == 2 * BITS_PER_WORD) in default_scalar_mode_supported_p()
1184 && known_lt (GET_MODE_BITSIZE (mode), BITS_PER_WORD) in default_secondary_memory_needed_mode()
1186 return mode_for_size (BITS_PER_WORD, GET_MODE_CLASS (mode), 0).require (); in default_secondary_memory_needed_mode()
1229 return MAX (align, BITS_PER_WORD); in constant_alignment_word_strings()
2315 return WORD_REGISTER_OPERATIONS ? BITS_PER_WORD : BITS_PER_UNIT; in default_min_arithmetic_precision()
HDoptabs-libfuncs.c190 int maxsize = 2 * BITS_PER_WORD; in gen_int_libfunc()
191 int minsize = BITS_PER_WORD; in gen_int_libfunc()
861 if (INT_TYPE_SIZE < BITS_PER_WORD) in init_optabs()
HDree.c866 if (WORD_REGISTER_OPERATIONS && known_lt (prec, BITS_PER_WORD)) in combine_reaching_defs()
956 if (WORD_REGISTER_OPERATIONS && known_lt (prec, BITS_PER_WORD)) in combine_reaching_defs()
HDrtlanal.c4444 && mode_width < BITS_PER_WORD in nonzero_bits1()
4476 && xmode_width <= BITS_PER_WORD in nonzero_bits1()
4740 && inner_width <= BITS_PER_WORD in nonzero_bits1()
5024 if (xmode_width < BITS_PER_WORD in num_sign_bit_copies1()
5947 if (HOST_BITS_PER_WIDE_INT >= (2 * BITS_PER_WORD)) in split_double()
5954 unsigned bits_per_word = BITS_PER_WORD; in split_double()
6080 if (BITS_PER_WORD < HOST_BITS_PER_LONG && BITS_PER_WORD == 32) in split_double()
HDoptabs-query.c670 return known_le (GET_MODE_PRECISION (mode), BITS_PER_WORD); in can_atomic_load_p()
/dragonfly/contrib/gcc-4.7/gcc/
HDdefaults.h493 #ifndef BITS_PER_WORD
494 #define BITS_PER_WORD (BITS_PER_UNIT * UNITS_PER_WORD) macro
511 #define INT_TYPE_SIZE BITS_PER_WORD
515 #define LONG_TYPE_SIZE BITS_PER_WORD
519 #define LONG_LONG_TYPE_SIZE (BITS_PER_WORD * 2)
527 #define FLOAT_TYPE_SIZE BITS_PER_WORD
531 #define DOUBLE_TYPE_SIZE (BITS_PER_WORD * 2)
535 #define LONG_DOUBLE_TYPE_SIZE (BITS_PER_WORD * 2)
759 #define POINTER_SIZE BITS_PER_WORD
833 #define MALLOC_ABI_ALIGNMENT BITS_PER_WORD
[all …]
HDexpmed.c352 = (MEM_P (str_rtx)) ? BITS_PER_UNIT : BITS_PER_WORD; in store_bit_field_1()
426 byte_offset = (bitnum % BITS_PER_WORD) / BITS_PER_UNIT in store_bit_field_1()
510 subreg_off = (bitnum % BITS_PER_WORD) / BITS_PER_UNIT in store_bit_field_1()
526 if (bitsize > BITS_PER_WORD) in store_bit_field_1()
535 unsigned int nwords = (bitsize + (BITS_PER_WORD - 1)) / BITS_PER_WORD; in store_bit_field_1()
546 fieldmode = smallest_mode_for_size (nwords * BITS_PER_WORD, MODE_INT); in store_bit_field_1()
559 * BITS_PER_WORD, in store_bit_field_1()
561 : (int) i * BITS_PER_WORD); in store_bit_field_1()
564 MIN (BITS_PER_WORD, bitsize - i * BITS_PER_WORD); in store_bit_field_1()
569 if (new_bitsize < BITS_PER_WORD && BYTES_BIG_ENDIAN && !backwards) in store_bit_field_1()
[all …]
HDoptabs.c793 outof_input, GEN_INT (BITS_PER_WORD - 1), in expand_superword_shift()
820 if (CONSTANT_P (op1) || shift_mask >= BITS_PER_WORD) in expand_subword_shift()
823 tmp = immed_double_const (BITS_PER_WORD, 0, op1_mode); in expand_subword_shift()
836 if (shift_mask == BITS_PER_WORD - 1) in expand_subword_shift()
844 tmp = immed_double_const (BITS_PER_WORD - 1, 0, op1_mode); in expand_subword_shift()
988 if (shift_mask >= BITS_PER_WORD in expand_doubleword_shift()
1007 tmp = immed_double_const (BITS_PER_WORD, 0, op1_mode); in expand_doubleword_shift()
1008 if (!CONSTANT_P (op1) && shift_mask == BITS_PER_WORD - 1) in expand_doubleword_shift()
1150 rtx wordm1 = umulp ? NULL_RTX : GEN_INT (BITS_PER_WORD - 1); in expand_doubleword_mult()
1696 for (i = 0; i < GET_MODE_BITSIZE (mode) / BITS_PER_WORD; i++) in expand_binop()
[all …]
HDlower-subreg.c965 || GET_MODE_BITSIZE (GET_MODE (op)) != 2 * BITS_PER_WORD) in find_decomposable_shift_zext()
971 || INTVAL (XEXP (op, 1)) < BITS_PER_WORD in find_decomposable_shift_zext()
972 || GET_MODE_BITSIZE (GET_MODE (op_operand)) != 2 * BITS_PER_WORD) in find_decomposable_shift_zext()
1046 if (shift_count > BITS_PER_WORD) in resolve_shift_zext()
1050 shift_count - BITS_PER_WORD, in resolve_shift_zext()
HDexpr.c482 && GET_MODE_PRECISION (to_mode) > BITS_PER_WORD) in convert_move()
506 else if (GET_MODE_PRECISION (from_mode) < BITS_PER_WORD in convert_move()
532 if (GET_MODE_PRECISION (from_mode) < BITS_PER_WORD) in convert_move()
570 if (GET_MODE_PRECISION (from_mode) > BITS_PER_WORD in convert_move()
571 && GET_MODE_PRECISION (to_mode) <= BITS_PER_WORD) in convert_move()
1297 || GET_MODE_BITSIZE (mode) >= BITS_PER_WORD)) in emit_block_move_via_movmem()
2099 unsigned HOST_WIDE_INT bitsize = MIN (TYPE_ALIGN (type), BITS_PER_WORD); in copy_blkmode_from_reg()
2133 = (BITS_PER_WORD - ((bytes % UNITS_PER_WORD) * BITS_PER_UNIT)); in copy_blkmode_from_reg()
2159 if (xbitpos % BITS_PER_WORD == 0 in copy_blkmode_from_reg()
2161 src = operand_subword_force (srcreg, xbitpos / BITS_PER_WORD, in copy_blkmode_from_reg()
[all …]
HDpostreload.c261 && GET_MODE_BITSIZE (GET_MODE (src)) < BITS_PER_WORD in reload_cse_simplify_set()
340 if (GET_MODE_BITSIZE (GET_MODE (SET_DEST (set))) < BITS_PER_WORD in reload_cse_simplify_set()
431 && GET_MODE_BITSIZE (GET_MODE (op)) < BITS_PER_WORD in reload_cse_simplify_operands()
/dragonfly/contrib/gcc-4.7/libobjc/
HDgc.c46 #define BITS_PER_WORD (CHAR_BIT * sizeof (word)) macro
309 size = ROUND (bits_no, BITS_PER_WORD) / BITS_PER_WORD; in __objc_generate_gc_type_description()
/dragonfly/contrib/gcc-8.0/gcc/config/i386/
HDdragonfly.h58 #define WCHAR_TYPE_SIZE (TARGET_64BIT ? 32 : BITS_PER_WORD)
HDi386.h752 #define LONG_TYPE_SIZE (TARGET_X32 ? 32 : BITS_PER_WORD)
753 #define POINTER_SIZE (TARGET_X32 ? 32 : BITS_PER_WORD)
790 #define PARM_BOUNDARY BITS_PER_WORD
793 #define STACK_BOUNDARY (TARGET_64BIT_MS_ABI ? 128 : BITS_PER_WORD)
799 #define MIN_STACK_BOUNDARY BITS_PER_WORD
/dragonfly/contrib/gcc-4.7/gcc/config/i386/
HDdragonfly.h57 #define WCHAR_TYPE_SIZE (TARGET_64BIT ? 32 : BITS_PER_WORD)
HDi386.h661 #define LONG_TYPE_SIZE (TARGET_X32 ? 32 : BITS_PER_WORD)
662 #define POINTER_SIZE (TARGET_X32 ? 32 : BITS_PER_WORD)
698 #define PARM_BOUNDARY BITS_PER_WORD
702 (TARGET_64BIT && ix86_abi == MS_ABI ? 128 : BITS_PER_WORD)
/dragonfly/contrib/libpcap/
HDoptimize.c274 #define BITS_PER_WORD (8*sizeof(bpf_u_int32)) macro
279 ((p)[(unsigned)(a) / BITS_PER_WORD] & ((bpf_u_int32)1 << ((unsigned)(a) % BITS_PER_WORD)))
285 (p)[(unsigned)(a) / BITS_PER_WORD] |= ((bpf_u_int32)1 << ((unsigned)(a) % BITS_PER_WORD))
291 (p)[(unsigned)(a) / BITS_PER_WORD] &= ~((bpf_u_int32)1 << ((unsigned)(a) % BITS_PER_WORD))
1759 k += i * BITS_PER_WORD; in opt_j()
2562 opt_state->edgewords = opt_state->n_edges / BITS_PER_WORD + 1; in opt_init()
2563 opt_state->nodewords = opt_state->n_blocks / BITS_PER_WORD + 1; in opt_init()

1234