Home
last modified time | relevance | path

Searched refs:shift_amount (Results 1 – 8 of 8) sorted by relevance

/openbsd-src/gnu/usr.bin/gcc/gcc/config/dsp16xx/
H A Ddsp16xx.c2008 emit_1600_core_shift (shift_op, operands, shift_amount, mode)
2011 int shift_amount;
2018 while (shift_amount != 0)
2020 if (shift_amount/16)
2022 quotient = shift_amount/16;
2023 shift_amount = shift_amount - (quotient * 16);
2032 else if (shift_amount/8)
2034 quotient = shift_amount/8;
2035 shift_amount = shift_amount - (quotient * 8);
2044 else if (shift_amount/4)
[all …]
/openbsd-src/gnu/llvm/lldb/tools/debugserver/source/
H A DStdStringExtractor.cpp153 uint32_t shift_amount = 0; in GetHexMaxU32() local
167 result |= ((uint32_t)nibble_hi << (shift_amount + 4)); in GetHexMaxU32()
168 result |= ((uint32_t)nibble_lo << shift_amount); in GetHexMaxU32()
170 shift_amount += 8; in GetHexMaxU32()
172 result |= ((uint32_t)nibble_hi << shift_amount); in GetHexMaxU32()
174 shift_amount += 4; in GetHexMaxU32()
204 uint32_t shift_amount = 0; in GetHexMaxU64() local
218 result |= ((uint64_t)nibble_hi << (shift_amount + 4)); in GetHexMaxU64()
219 result |= ((uint64_t)nibble_lo << shift_amount); in GetHexMaxU64()
221 shift_amount += 8; in GetHexMaxU64()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Utility/
H A DStringExtractor.cpp160 uint32_t shift_amount = 0; in GetHexMaxU32() local
174 result |= (static_cast<uint32_t>(nibble_hi) << (shift_amount + 4)); in GetHexMaxU32()
175 result |= (static_cast<uint32_t>(nibble_lo) << shift_amount); in GetHexMaxU32()
177 shift_amount += 8; in GetHexMaxU32()
179 result |= (static_cast<uint32_t>(nibble_hi) << shift_amount); in GetHexMaxU32()
181 shift_amount += 4; in GetHexMaxU32()
211 uint32_t shift_amount = 0; in GetHexMaxU64() local
225 result |= (static_cast<uint64_t>(nibble_hi) << (shift_amount + 4)); in GetHexMaxU64()
226 result |= (static_cast<uint64_t>(nibble_lo) << shift_amount); in GetHexMaxU64()
228 shift_amount += 8; in GetHexMaxU64()
[all …]
/openbsd-src/gnu/llvm/lldb/packages/Python/lldbsuite/test/
H A Dlldbdwarf.py229 shift_amount = dwarf_data.pop()
231 result = val_to_shift << shift_amount
237 shift_amount = dwarf_data.pop()
239 result = val_to_shift >> shift_amount
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dtree.c659 int shift_amount; local
661 shift_amount = prec - HOST_BITS_PER_WIDE_INT;
663 if (shift_amount > HOST_BITS_PER_WIDE_INT)
666 else if (shift_amount == HOST_BITS_PER_WIDE_INT)
671 high_value = ((HOST_WIDE_INT) 1 << shift_amount) - 1;
H A Dexpr.c1164 tree shift_amount; local
1184 shift_amount = build_int_2 (GET_MODE_BITSIZE (to_mode)
1187 tmp = expand_shift (LSHIFT_EXPR, to_mode, from, shift_amount,
1189 tmp = expand_shift (RSHIFT_EXPR, to_mode, tmp, shift_amount,
/openbsd-src/gnu/gcc/gcc/
H A Dtree.c1321 int shift_amount; in integer_all_onesp() local
1323 shift_amount = prec - HOST_BITS_PER_WIDE_INT; in integer_all_onesp()
1326 gcc_assert (shift_amount <= HOST_BITS_PER_WIDE_INT); in integer_all_onesp()
1327 if (shift_amount == HOST_BITS_PER_WIDE_INT) in integer_all_onesp()
1332 high_value = ((HOST_WIDE_INT) 1 << shift_amount) - 1; in integer_all_onesp()
H A Dexpr.c658 tree shift_amount; in convert_move() local
678 shift_amount = build_int_cst (NULL_TREE, in convert_move()
682 tmp = expand_shift (LSHIFT_EXPR, to_mode, from, shift_amount, in convert_move()
684 tmp = expand_shift (RSHIFT_EXPR, to_mode, tmp, shift_amount, in convert_move()