| /netbsd-src/sys/arch/hppa/spmath/ |
| H A D | hppa.h | 44 #define Shiftdouble(left,right,amount,dest) \ argument 46 dest = ((left) << (32-(amount))) | ((unsigned int)(right) >> (amount)) 49 #define Variableshiftdouble(left,right,amount,dest) \ argument 51 if (amount == 0) dest = right; \ 52 else dest = ((((unsigned) left)&0x7fffffff) << (32-(amount))) | \ 53 ((unsigned) right >> (amount)) 56 #define Variable_shift_double(left,right,amount,dest) \ argument 58 dest = (left << (32-(amount))) | ((unsigned) right >> (amount))
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | wide-int-bitmask.h | 97 wide_int_bitmask::operator << (int amount) 100 if (amount >= 64) 103 ret.high = low << (amount - 64); 105 else if (amount == 0) 109 ret.low = low << amount; 110 ret.high = (low >> (64 - amount)) | (high << amount); 116 wide_int_bitmask::operator >> (int amount) 119 if (amount >= 64) 121 ret.low = high >> (amount - 64); 124 else if (amount == 0) [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | wide-int-bitmask.h | 94 wide_int_bitmask::operator << (int amount) 97 if (amount >= 64) 100 ret.high = low << (amount - 64); 102 else if (amount == 0) 106 ret.low = low << amount; 107 ret.high = (low >> (64 - amount)) | (high << amount); 113 wide_int_bitmask::operator >> (int amount) 116 if (amount >= 64) 118 ret.low = high >> (amount - 64); 121 else if (amount == 0) [all …]
|
| /netbsd-src/games/hack/ |
| H A D | hack.wield.c | 131 chwepon(struct obj *otmp, int amount) in chwepon() argument 133 const char *color = (amount < 0) ? "black" : "green"; in chwepon() 137 (amount > 0) ? "Your hands twitch." in chwepon() 141 if (uwep->otyp == WORM_TOOTH && amount > 0) { in chwepon() 147 if (uwep->otyp == CRYSKNIFE && amount < 0) { in chwepon() 153 if (amount > 0 && uwep->spe > 5 && rn2(3)) { in chwepon() 162 amount *= 2; in chwepon() 163 stime = (amount * amount == 1) ? "moment" : "while"; in chwepon() 166 uwep->spe += amount; in chwepon() 167 if (amount > 0) in chwepon()
|
| /netbsd-src/external/gpl3/gcc/dist/libgcc/config/libbid/ |
| H A D | bid128_quantize.c | 33 int exponent_x, exponent_y, digits_x, extra_digits, amount; variable 155 amount = recip_scale[extra_digits]; 158 if (amount >= 64) { 160 CR.w[0] = CX2.w[1] >> (amount - 64); 162 __shr_128 (CR, CX2, amount); 175 if (amount >= 64) { 176 remainder_h = CX2.w[0] | (CX2.w[1] << (128 - amount)); 178 remainder_h = CX2.w[0] << (64 - amount); 194 if (amount >= 64) { 195 REM_H.w[1] = (CX2.w[1] << (128 - amount)); [all …]
|
| H A D | bid_inline_add.h | 85 int bin_expon_ca, extra_digits, amount, scale_k, scale_ca; in get_add64() local 264 amount = short_recip_scale[extra_digits]; in get_add64() 265 C64 = CT.w[1] >> amount; in get_add64() 327 amount = short_recip_scale[extra_digits]; in get_add64() 328 C0_64 = CT.w[1] >> amount; in get_add64() 371 amount = short_recip_scale[extra_digits]; in get_add64() 372 C0_64 = CT.w[1] >> amount; in get_add64() 392 amount = short_recip_scale[extra_digits]; in get_add64() 393 C0_64 = CT_new.w[1] >> amount; in get_add64() 421 remainder_h = CT.w[1] << (64 - amount); in get_add64() [all …]
|
| H A D | bid32_to_bid128.c | 83 int exponent_x, extra_digits, amount, bin_expon_cx, uf_check = 0; 100 amount = recip_scale[27] - 64; 101 res = ((CX.w[1] >> 32) & 0xfc000000) | (Qh.w[1] >> amount); 177 amount = recip_scale[extra_digits]; 179 if (amount >= 64) { 180 CX.w[0] = Qh.w[1] >> (amount - 64); 183 __shr_128 (CX, Qh, amount); 194 __shl_128_long (Qh1, Qh, (128 - amount)); 209 __shl_128_long (Qh1, Qh, (128 - amount)); 235 __shr_128_long (Qh, Qh1, (128 - amount)); [all …]
|
| H A D | bid64_to_bid128.c | 81 int exponent_x, extra_digits, amount, bin_expon_cx; 98 amount = recip_scale[18]; 99 __shr_128 (Tmp, Qh, amount); 175 amount = recip_scale[extra_digits]; 177 if (amount >= 64) { 178 CX.w[0] = Qh.w[1] >> (amount - 64); 181 __shr_128 (CX, Qh, amount); 192 __shl_128_long (Qh1, Qh, (128 - amount)); 206 __shl_128_long (Qh1, Qh, (128 - amount)); 232 __shr_128_long (Qh, Qh1, (128 - amount)); [all …]
|
| H A D | bid64_add.c | 131 int bin_expon_ca, extra_digits, amount, scale_k, scale_ca; local 407 amount = short_recip_scale[extra_digits]; 408 C64 = CT.w[1] >> amount; 460 amount = short_recip_scale[extra_digits]; 461 C0_64 = CT.w[1] >> amount; 499 amount = short_recip_scale[extra_digits]; 500 C0_64 = CT.w[1] >> amount; 520 amount = short_recip_scale[extra_digits]; 521 C0_64 = CT_new.w[1] >> amount; 549 remainder_h = CT.w[1] << (64 - amount); [all …]
|
| H A D | bid32_to_bid64.c | 83 int exponent_x, bin_expon_cx, extra_digits, rmode = 0, amount; 154 amount = short_recip_scale[extra_digits]; 156 coefficient_x = Q.w[1] >> amount; 167 remainder_h = Q.w[1] << (64 - amount); 179 remainder_h = Q.w[1] << (64 - amount); 198 if ((remainder_h >> (64 - amount)) + carry >= 199 (((UINT64) 1) << amount))
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/libbid/ |
| H A D | bid128_quantize.c | 33 int exponent_x, exponent_y, digits_x, extra_digits, amount; variable 155 amount = recip_scale[extra_digits]; 158 if (amount >= 64) { 160 CR.w[0] = CX2.w[1] >> (amount - 64); 162 __shr_128 (CR, CX2, amount); 175 if (amount >= 64) { 176 remainder_h = CX2.w[0] | (CX2.w[1] << (128 - amount)); 178 remainder_h = CX2.w[0] << (64 - amount); 194 if (amount >= 64) { 195 REM_H.w[1] = (CX2.w[1] << (128 - amount)); [all …]
|
| H A D | bid_inline_add.h | 85 int bin_expon_ca, extra_digits, amount, scale_k, scale_ca; in get_add64() local 264 amount = short_recip_scale[extra_digits]; in get_add64() 265 C64 = CT.w[1] >> amount; in get_add64() 327 amount = short_recip_scale[extra_digits]; in get_add64() 328 C0_64 = CT.w[1] >> amount; in get_add64() 371 amount = short_recip_scale[extra_digits]; in get_add64() 372 C0_64 = CT.w[1] >> amount; in get_add64() 392 amount = short_recip_scale[extra_digits]; in get_add64() 393 C0_64 = CT_new.w[1] >> amount; in get_add64() 421 remainder_h = CT.w[1] << (64 - amount); in get_add64() [all …]
|
| H A D | bid32_to_bid128.c | 83 int exponent_x, extra_digits, amount, bin_expon_cx, uf_check = 0; 100 amount = recip_scale[27] - 64; 101 res = ((CX.w[1] >> 32) & 0xfc000000) | (Qh.w[1] >> amount); 177 amount = recip_scale[extra_digits]; 179 if (amount >= 64) { 180 CX.w[0] = Qh.w[1] >> (amount - 64); 183 __shr_128 (CX, Qh, amount); 194 __shl_128_long (Qh1, Qh, (128 - amount)); 209 __shl_128_long (Qh1, Qh, (128 - amount)); 235 __shr_128_long (Qh, Qh1, (128 - amount)); [all …]
|
| H A D | bid64_to_bid128.c | 81 int exponent_x, extra_digits, amount, bin_expon_cx; 98 amount = recip_scale[18]; 99 __shr_128 (Tmp, Qh, amount); 175 amount = recip_scale[extra_digits]; 177 if (amount >= 64) { 178 CX.w[0] = Qh.w[1] >> (amount - 64); 181 __shr_128 (CX, Qh, amount); 192 __shl_128_long (Qh1, Qh, (128 - amount)); 206 __shl_128_long (Qh1, Qh, (128 - amount)); 232 __shr_128_long (Qh, Qh1, (128 - amount)); [all …]
|
| H A D | bid64_add.c | 131 int bin_expon_ca, extra_digits, amount, scale_k, scale_ca; local 407 amount = short_recip_scale[extra_digits]; 408 C64 = CT.w[1] >> amount; 460 amount = short_recip_scale[extra_digits]; 461 C0_64 = CT.w[1] >> amount; 499 amount = short_recip_scale[extra_digits]; 500 C0_64 = CT.w[1] >> amount; 520 amount = short_recip_scale[extra_digits]; 521 C0_64 = CT_new.w[1] >> amount; 549 remainder_h = CT.w[1] << (64 - amount); [all …]
|
| H A D | bid32_to_bid64.c | 83 int exponent_x, bin_expon_cx, extra_digits, rmode = 0, amount; 154 amount = short_recip_scale[extra_digits]; 156 coefficient_x = Q.w[1] >> amount; 167 remainder_h = Q.w[1] << (64 - amount); 179 remainder_h = Q.w[1] << (64 - amount); 198 if ((remainder_h >> (64 - amount)) + carry >= 199 (((UINT64) 1) << amount))
|
| /netbsd-src/external/bsd/kyua-cli/dist/utils/ |
| H A D | memory.cpp | 150 static int64_t amount = -1; in physical_memory() local 151 if (amount == -1) { in physical_memory() 154 amount = 0; in physical_memory() 156 amount = query_sysctl(query_sysctl_mib); in physical_memory() 160 query_type % amount); in physical_memory() 162 POST(amount > -1); in physical_memory() 163 return units::bytes(amount); in physical_memory()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/test/ |
| H A D | bio_prefix_text.c | 39 static size_t amount = 0; variable 86 if (!BIO_write_ex(chain[amount - 1], buf, bytes_in, &bytes)) in run_pipe() 97 size_t n = amount; in setup_bio_chain() 129 BIO_free_all(chain[amount - 1]); in cleanup() 164 amount = strtoul(arg, &endptr, 10); in setup() 171 if (amount < 1) { in setup() 209 if (idx >= amount) { in setup() 211 progname, idx, amount - 1); in setup() 240 if (idx >= amount) { in setup() 242 progname, idx, amount - 1); in setup()
|
| /netbsd-src/external/public-domain/xz/dist/src/liblzma/lz/ |
| H A D | lz_encoder.h | 267 mf_skip(lzma_mf *mf, uint32_t amount) in mf_skip() argument 269 if (amount != 0) { in mf_skip() 270 mf->skip(mf, amount); in mf_skip() 271 mf->read_ahead += amount; in mf_skip() 313 extern void lzma_mf_hc3_skip(lzma_mf *dict, uint32_t amount); 316 extern void lzma_mf_hc4_skip(lzma_mf *dict, uint32_t amount); 319 extern void lzma_mf_bt2_skip(lzma_mf *dict, uint32_t amount); 322 extern void lzma_mf_bt3_skip(lzma_mf *dict, uint32_t amount); 325 extern void lzma_mf_bt4_skip(lzma_mf *dict, uint32_t amount);
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/devinit/ |
| H A D | nouveau_nvkm_subdev_devinit_nv20.c | 43 uint32_t amount, off; in nv20_devinit_meminit() local 58 amount = nvkm_rd32(device, 0x10020c); in nv20_devinit_meminit() 59 for (off = amount; off > 0x2000000; off -= 0x2000000) in nv20_devinit_meminit() 62 amount = nvkm_rd32(device, 0x10020c); in nv20_devinit_meminit() 63 if (amount != fbmem_peek(fb, amount - 4)) in nv20_devinit_meminit()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/mips/ |
| H A D | loongson-mmiintrin.h | 464 psllh_u (uint16x4_t s, uint8_t amount) in psllh_u() argument 466 return __builtin_loongson_psllh_u (s, amount); in psllh_u() 470 psllh_s (int16x4_t s, uint8_t amount) in psllh_s() argument 472 return __builtin_loongson_psllh_s (s, amount); in psllh_s() 476 psllw_u (uint32x2_t s, uint8_t amount) in psllw_u() argument 478 return __builtin_loongson_psllw_u (s, amount); in psllw_u() 482 psllw_s (int32x2_t s, uint8_t amount) in psllw_s() argument 484 return __builtin_loongson_psllw_s (s, amount); in psllw_s() 489 psrlh_u (uint16x4_t s, uint8_t amount) in psrlh_u() argument 491 return __builtin_loongson_psrlh_u (s, amount); in psrlh_u() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/mips/ |
| H A D | loongson-mmiintrin.h | 464 psllh_u (uint16x4_t s, uint8_t amount) in psllh_u() argument 466 return __builtin_loongson_psllh_u (s, amount); in psllh_u() 470 psllh_s (int16x4_t s, uint8_t amount) in psllh_s() argument 472 return __builtin_loongson_psllh_s (s, amount); in psllh_s() 476 psllw_u (uint32x2_t s, uint8_t amount) in psllw_u() argument 478 return __builtin_loongson_psllw_u (s, amount); in psllw_u() 482 psllw_s (int32x2_t s, uint8_t amount) in psllw_s() argument 484 return __builtin_loongson_psllw_s (s, amount); in psllw_s() 489 psrlh_u (uint16x4_t s, uint8_t amount) in psrlh_u() argument 491 return __builtin_loongson_psrlh_u (s, amount); in psrlh_u() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/h8300/ |
| H A D | genmova.sh | 101 mult) amount=$mult;; 102 ashift) amount=$shift;; 113 (const_int $amount)) 132 (const_int $amount)))] 140 (const_int $amount)) 169 (const_int $amount)) 178 (const_int $amount))
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/h8300/ |
| H A D | genmova.sh | 102 mult) amount=$mult;; 103 ashift) amount=$shift;; 114 (const_int $amount)) 134 (const_int $amount)))] 143 (const_int $amount)) 173 (const_int $amount)) 183 (const_int $amount))
|
| /netbsd-src/external/gpl2/texinfo/dist/info/ |
| H A D | display.c | 453 display_scroll_display (int start, int end, int amount) in display_scroll_display() argument 472 terminal_scroll_terminal (start, end, amount); in display_scroll_display() 475 if (amount > 0) in display_scroll_display() 477 last = end + amount; in display_scroll_display() 489 for (i = start; i != (start + amount); i++) in display_scroll_display() 497 if (amount < 0) in display_scroll_display() 499 last = start + amount; in display_scroll_display() 509 for (i = end + amount; i != end; i++) in display_scroll_display() 567 int start, end, amount; in display_scroll_line_starts() local 571 amount = new - (old + already_scrolled); in display_scroll_line_starts() [all …]
|