x 4983 src/decNumber/decNumber.c const decNumber *x=rhs; // (may point to safe copy later) x 5115 src/decNumber/decNumber.c x=newrhs; // ready for use x 5129 src/decNumber/decNumber.c p=MAXI(x->digits, set->digits)+h+2; // [h<=8] x 5158 src/decNumber/decNumber.c decNumberCopy(t, x); // term=x x 5178 src/decNumber/decNumber.c decMultiplyOp(t, t, x, &tset, &ignore); // t=t*x x 196 src/decNumber/decNumberLocal.h # define MAXI(x,y) ((x)<(y)?(y):(x)) x 197 src/decNumber/decNumberLocal.h # define MINI(x,y) ((x)>(y)?(y):(x)) x 102 src/dps8/bsd_random.c bsd_srandom(unsigned int x) x 106 src/dps8/bsd_random.c state[0] = x; x 111 src/dps8/bsd_random.c state[0] = x; x 49 src/dps8/bsd_random.h void bsd_srandom(unsigned int x); x 64 src/dps8/dps8.h # define PNL(x) x x 66 src/dps8/dps8.h # define PNL(x) x 69 src/dps8/dps8.h # define L68_(x) if (cpu.tweaks.l68_mode) { x } x 70 src/dps8/dps8.h # define DPS8M_(x) if (! cpu.tweaks.l68_mode) { x } x 217 src/dps8/dps8.h # define SETF(flags, x) flags = ((flags) | (x)) x 218 src/dps8/dps8.h # define CLRF(flags, x) flags = ((flags) & ~(x)) x 219 src/dps8/dps8.h # define TSTF(flags, x) (((flags) & (x)) ? 1 : 0) x 220 src/dps8/dps8.h # define SCF(cond, flags, x) { if (cond) SETF((flags), x); else CLRF((flags), x); } x 1195 src/dps8/dps8_append.c #define FMSG(x) x 606 src/dps8/dps8_cpu.h word72s x; // a signed, 128-bit integers for playing with ... x 9264 src/dps8/dps8_eis.c word72 x = construct_128 (0, 0); x 9266 src/dps8/dps8_eis.c word72 x = 0; x 9279 src/dps8/dps8_eis.c x = lshift_128 (x, 9); x 9281 src/dps8/dps8_eis.c x <<= 9; // make room for next 9-bit byte x 9296 src/dps8/dps8_eis.c x = or_128 (x, construct_128 (0, GETBYTE (data, pos))); x 9298 src/dps8/dps8_eis.c x |= GETBYTE(data, pos); // fetch byte at position pos and 'or' it in x 9305 src/dps8/dps8_eis.c e->x = signExt9(x, n); // form proper 2's-complement integer x 9362 src/dps8/dps8_eis.c x 9571 src/dps8/dps8_eis.c word72 x = cast_128 (e->x); x 9572 src/dps8/dps8_eis.c if (islt_s128 (e->x, construct_s128 (0, 0))) x 9575 src/dps8/dps8_eis.c x = and_128 (negate_128 (x), MASK72); x 9587 src/dps8/dps8_eis.c x = divide_128_16 (x, 10, & r); x 9589 src/dps8/dps8_eis.c if (iszero_128 (x)) x 9593 src/dps8/dps8_eis.c word72 x = (word72)e->x; x 9594 src/dps8/dps8_eis.c if (e->x < 0) { x 9598 src/dps8/dps8_eis.c x = ((word72) (- (word72s) x)) & MASK72; x 9606 src/dps8/dps8_eis.c tmp[i] = x%10 + '0'; x 9607 src/dps8/dps8_eis.c x /= 10; x 9608 src/dps8/dps8_eis.c if (x == 0) x 9709 src/dps8/dps8_eis.c x 9839 src/dps8/dps8_eis.c x 9840 src/dps8/dps8_eis.c x 9842 src/dps8/dps8_eis.c x 9847 src/dps8/dps8_eis.c x 9849 src/dps8/dps8_eis.c x 9889 src/dps8/dps8_eis.c x 9893 src/dps8/dps8_eis.c x 9894 src/dps8/dps8_eis.c x 9902 src/dps8/dps8_eis.c x 10029 src/dps8/dps8_eis.c word72 x = construct_128 (0, 0); x 10032 src/dps8/dps8_eis.c x = multiply_128 (x, construct_128 (0, 10)); x 10034 src/dps8/dps8_eis.c x = add_128 (x, construct_128 (0, (uint) e->inBuffer[i])); x 10036 src/dps8/dps8_eis.c Ovr |= isgt_128 (x, msk) ? 1 : 0; x 10038 src/dps8/dps8_eis.c x = and_128 (x, msk); // multiplication and addition mod msk+1 x 10042 src/dps8/dps8_eis.c x = negate_128 (x); // no need to mask it x 10045 src/dps8/dps8_eis.c word72 x = 0; x 10047 src/dps8/dps8_eis.c x *= 10; x 10048 src/dps8/dps8_eis.c x += e->inBuffer[i]; x 10050 src/dps8/dps8_eis.c Ovr |= x>msk?1:0; x 10051 src/dps8/dps8_eis.c x &= msk; // multiplication and addition mod msk+1 x 10056 src/dps8/dps8_eis.c x = (word72) (- (word72s) x); // no need to mask it x 10067 src/dps8/dps8_eis.c EISwrite9(&e->ADDR2, &pos, (word9) rshift_128 (x, (uint) shift).l & 0777); x 10069 src/dps8/dps8_eis.c EISwrite9(&e->ADDR2, &pos, (word9) (x >> shift )& 0777); x 10076 src/dps8/dps8_eis.c SC_I_ZERO (iszero_128 (x)); // set zero indicator x 10078 src/dps8/dps8_eis.c SC_I_ZERO (x==0); // set zero indicator x 10096 src/dps8/dps8_eis.c #define ASC(x) ((x) + '0') x 74 src/dps8/dps8_fnp2_iomcmd.c static inline void l_putbits36_1 (vol word36 * x, uint p, word1 val) x 79 src/dps8/dps8_fnp2_iomcmd.c sim_printf ("l_putbits36_1: bad args (%012"PRIo64",pos=%d)\n", *x, p); x 87 src/dps8/dps8_fnp2_iomcmd.c * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 185 src/dps8/dps8_hw_consts.h # define MASKBITS(x) ( ~(~((uint64)0)<<x) ) // lower (x) bits all ones x 186 src/dps8/dps8_hw_consts.h # define MASKBITS18(x) ( ~(~((word18)0)<<x) ) // lower (x) bits all ones x 187 src/dps8/dps8_hw_consts.h # define MASKBITS72(x) ( ~(~((word72)0)<<x) ) // lower (x) bits all ones x 398 src/dps8/dps8_hw_consts.h # define SETS36(x) ((x) | SIGN36) x 399 src/dps8/dps8_hw_consts.h # define CLRS36(x) ((x) & ~SIGN36) x 400 src/dps8/dps8_hw_consts.h # define TSTS36(x) ((x) & SIGN36) x 427 src/dps8/dps8_hw_consts.h # define GET_TAG(x) ((word6) ( (x) & INST_M_TAG )) x 428 src/dps8/dps8_hw_consts.h # define GET_A(x) ((word1) (((x) >> INST_V_A) & INST_M_A )) x 429 src/dps8/dps8_hw_consts.h # define GET_I(x) ((int32) (((x) >> INST_V_I) & INST_M_I )) x 430 src/dps8/dps8_hw_consts.h # define GET_OP(x) ((word9) (((x) >> INST_V_OP) & INST_M_OP )) x 431 src/dps8/dps8_hw_consts.h # define GET_OPX(x) ((bool) (((x) >> INST_V_OPX) & INST_M_OPX)) x 433 src/dps8/dps8_hw_consts.h # define GET_OFFSET(x) ((word15) (((x) >> INST_V_OFFSET) & INST_M_OFFSET)) x 434 src/dps8/dps8_hw_consts.h # define GET_PRN(x) ((word3) (((x) >> INST_V_PRN) & INST_M_PRN)) x 435 src/dps8/dps8_hw_consts.h # define GET_ARN(x) ((word3) (((x) >> INST_V_ARN) & INST_M_ARN)) x 437 src/dps8/dps8_hw_consts.h # define GET_TM(x) ( (GET_TAG(x) & 060U)) x 438 src/dps8/dps8_hw_consts.h # define GET_TD(x) ( (GET_TAG(x) & 017U)) x 440 src/dps8/dps8_hw_consts.h # define GET_ADDR(x) ((uint32) (((x) >> INST_V_ADDR) & INST_M_ADDR)) x 512 src/dps8/dps8_hw_consts.h # define ISITP(x) (((x) & INST_M_TAG) == 041U) x 518 src/dps8/dps8_hw_consts.h # define ISITS(x) (((x) & INST_M_TAG) == 043U) x 1393 src/dps8/dps8_ins.c #define likely(x) __builtin_expect ((x), 1) x 1394 src/dps8/dps8_ins.c #define unlikely(x) __builtin_expect ((x), 0) x 2091 src/dps8/dps8_ins.c uint x = (uint) getbits18 (cpu.rX[0], 0, 8); x 2094 src/dps8/dps8_ins.c x = (uint) (((int) x) - 1); x 2095 src/dps8/dps8_ins.c x &= MASK8; x 2096 src/dps8/dps8_ins.c putbits18 (& cpu.rX[0], 0, 8, x); x 2105 src/dps8/dps8_ins.c sim_debug (DBG_TRACEEXT, & cpu_dev, "tally %d\n", x); x 2106 src/dps8/dps8_ins.c if (x == 0) { x 53 src/dps8/dps8_math.c long double ldexpl(long double x, int n) { x 54 src/dps8/dps8_math.c return __builtin_ldexpl(x, n); x 231 src/dps8/dps8_math.c static long double MYfrexpl(long double x, int *exp) x 237 src/dps8/dps8_math.c if (x != x || x + x == x ) x 240 src/dps8/dps8_math.c return x; x 243 src/dps8/dps8_math.c if (x < 0) x 244 src/dps8/dps8_math.c return -MYfrexpl(-x, exp); x 247 src/dps8/dps8_math.c if (x > 1.0) x 250 src/dps8/dps8_math.c *next <= x + x; x 254 src/dps8/dps8_math.c if (x + x >= *next) x 256 src/dps8/dps8_math.c x /= *next; x 262 src/dps8/dps8_math.c else if (x < 0.5) x 265 src/dps8/dps8_math.c *next > x; x 269 src/dps8/dps8_math.c if (x < *next) x 271 src/dps8/dps8_math.c x /= *next; x 279 src/dps8/dps8_math.c return x; x 337 src/dps8/dps8_math128.c nlz (unsigned x) x 341 src/dps8/dps8_math128.c if (x == 0) x 346 src/dps8/dps8_math128.c if (x <= 0x0000FFFF) x 349 src/dps8/dps8_math128.c x = x << 16; x 352 src/dps8/dps8_math128.c if (x <= 0x00FFFFFF) x 355 src/dps8/dps8_math128.c x = x << 8; x 358 src/dps8/dps8_math128.c if (x <= 0x0FFFFFFF) x 361 src/dps8/dps8_math128.c x = x << 4; x 364 src/dps8/dps8_math128.c if (x <= 0x3FFFFFFF) x 367 src/dps8/dps8_math128.c x = x << 2; x 370 src/dps8/dps8_math128.c if (x <= 0x7FFFFFFF) x 26 src/dps8/dps8_math128.h # define cast_128(x) construct_128 ((uint64_t) (x).h, (x).l) x 27 src/dps8/dps8_math128.h # define cast_s128(x) construct_s128 ((int64_t) (x).h, (x).l) x 107 src/dps8/dps8_utils.h x 117 src/dps8/dps8_utils.h x 121 src/dps8/dps8_utils.h static inline word36 getbits36(word36 x, uint i, uint n) { x 125 src/dps8/dps8_utils.h sim_printf ("getbits36: bad args (%012llu,i=%d,n=%d)\n", (unsigned long long)x, i, n); x 128 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & ~ (~0U << n); x 131 src/dps8/dps8_utils.h static inline word1 getbits36_1 (word36 x, uint i) x 136 src/dps8/dps8_utils.h sim_printf ("getbits36_1: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 139 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 01; x 142 src/dps8/dps8_utils.h static inline word2 getbits36_2 (word36 x, uint i) x 147 src/dps8/dps8_utils.h sim_printf ("getbits36_2: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 150 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 03; x 153 src/dps8/dps8_utils.h static inline word3 getbits36_3 (word36 x, uint i) x 158 src/dps8/dps8_utils.h sim_printf ("getbits36_3: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 161 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 07; x 164 src/dps8/dps8_utils.h static inline word4 getbits36_4 (word36 x, uint i) x 169 src/dps8/dps8_utils.h sim_printf ("getbits36_4: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 172 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 017; x 175 src/dps8/dps8_utils.h static inline word5 getbits36_5 (word36 x, uint i) x 180 src/dps8/dps8_utils.h sim_printf ("getbits36_5: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 183 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 037; x 186 src/dps8/dps8_utils.h static inline word6 getbits36_6 (word36 x, uint i) x 191 src/dps8/dps8_utils.h sim_printf ("getbits36_6: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 194 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 077; x 197 src/dps8/dps8_utils.h static inline word7 getbits36_7 (word36 x, uint i) x 202 src/dps8/dps8_utils.h sim_printf ("getbits36_7: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 205 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 0177; x 208 src/dps8/dps8_utils.h static inline word8 getbits36_8 (word36 x, uint i) x 213 src/dps8/dps8_utils.h sim_printf ("getbits36_8: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 216 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 0377; x 219 src/dps8/dps8_utils.h static inline word9 getbits36_9 (word36 x, uint i) x 224 src/dps8/dps8_utils.h sim_printf ("getbits36_9: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 227 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 0777; x 230 src/dps8/dps8_utils.h static inline word10 getbits36_10 (word36 x, uint i) x 235 src/dps8/dps8_utils.h sim_printf ("getbits36_10: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 238 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 01777; x 241 src/dps8/dps8_utils.h static inline word12 getbits36_12 (word36 x, uint i) x 246 src/dps8/dps8_utils.h sim_printf ("getbits36_12: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 249 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 07777; x 252 src/dps8/dps8_utils.h static inline word14 getbits36_14 (word36 x, uint i) x 257 src/dps8/dps8_utils.h sim_printf ("getbits36_14: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 260 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 037777; x 263 src/dps8/dps8_utils.h static inline word15 getbits36_15 (word36 x, uint i) x 268 src/dps8/dps8_utils.h sim_printf ("getbits36_15: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 271 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 077777; x 274 src/dps8/dps8_utils.h static inline word16 getbits36_16 (word36 x, uint i) x 279 src/dps8/dps8_utils.h sim_printf ("getbits36_16: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 282 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 0177777; x 285 src/dps8/dps8_utils.h static inline word18 getbits36_18 (word36 x, uint i) x 290 src/dps8/dps8_utils.h sim_printf ("getbits36_18: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 293 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 0777777; x 296 src/dps8/dps8_utils.h static inline word24 getbits36_24 (word36 x, uint i) x 301 src/dps8/dps8_utils.h sim_printf ("getbits36_24: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 304 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & MASK24; x 307 src/dps8/dps8_utils.h static inline word28 getbits36_28 (word36 x, uint i) x 312 src/dps8/dps8_utils.h sim_printf ("getbits36_28: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 315 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 01777777777; x 318 src/dps8/dps8_utils.h static inline word36 setbits36(word36 x, uint p, uint n, word36 val) x 322 src/dps8/dps8_utils.h sim_printf ("setbits36: bad args (%012llu,pos=%d,n=%d)\n", (unsigned long long)x, p, n); x 329 src/dps8/dps8_utils.h word36 result = (x & ~ mask) | ((val&MASKBITS(n)) << (36 - p - n)); x 333 src/dps8/dps8_utils.h static inline word36 setbits36_1 (word36 x, uint p, word1 val) x 338 src/dps8/dps8_utils.h sim_printf ("setbits36_1: bad args (%012llu,pos=%d)\n", (unsigned long long)x, p); x 345 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); x 349 src/dps8/dps8_utils.h static inline word36 setbits36_4 (word36 x, uint p, word4 val) x 354 src/dps8/dps8_utils.h sim_printf ("setbits36_4: bad args (%012llu,pos=%d)\n", (unsigned long long)x, p); x 361 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); x 365 src/dps8/dps8_utils.h static inline word36 setbits36_5 (word36 x, uint p, word5 val) x 370 src/dps8/dps8_utils.h sim_printf ("setbits36_5: bad args (%012llu,pos=%d)\n", (unsigned long long)x, p); x 377 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); x 381 src/dps8/dps8_utils.h static inline word36 setbits36_6 (word36 x, uint p, word6 val) x 386 src/dps8/dps8_utils.h sim_printf ("setbits36_6: bad args (%012llu,pos=%d)\n", (unsigned long long)x, p); x 393 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); x 397 src/dps8/dps8_utils.h static inline word36 setbits36_8 (word36 x, uint p, word8 val) x 402 src/dps8/dps8_utils.h sim_printf ("setbits36_8: bad args (%012llu,pos=%d)\n", (unsigned long long)x, p); x 409 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); x 413 src/dps8/dps8_utils.h static inline word36 setbits36_9 (word36 x, uint p, word9 val) x 418 src/dps8/dps8_utils.h sim_printf ("setbits36_9: bad args (%012llu,pos=%d)\n", (unsigned long long)x, p); x 425 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); x 429 src/dps8/dps8_utils.h static inline word36 setbits36_16 (word36 x, uint p, word16 val) x 434 src/dps8/dps8_utils.h sim_printf ("setbits36_16: bad args (%012llu,pos=%d)\n", (unsigned long long)x, p); x 441 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); x 445 src/dps8/dps8_utils.h static inline word36 setbits36_24 (word36 x, uint p, word24 val) x 450 src/dps8/dps8_utils.h sim_printf ("setbits36_24: bad args (%012llu,pos=%d)\n", (unsigned long long)x, p); x 457 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); x 461 src/dps8/dps8_utils.h static inline void putbits36 (word36 * x, uint p, uint n, word36 val) x 466 src/dps8/dps8_utils.h sim_printf ("putbits36: bad args (%012llu,pos=%d,n=%d)\n", (unsigned long long)*x, p, n); x 473 src/dps8/dps8_utils.h * x = (* x & ~mask) | ((val & MASKBITS (n)) << (36 - p - n)); x 477 src/dps8/dps8_utils.h static inline void putbits36_1 (word36 * x, uint p, word1 val) x 482 src/dps8/dps8_utils.h sim_printf ("putbits36_1: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 489 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 492 src/dps8/dps8_utils.h static inline void putbits36_2 (word36 * x, uint p, word2 val) x 497 src/dps8/dps8_utils.h sim_printf ("putbits36_2: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 504 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 507 src/dps8/dps8_utils.h static inline void putbits36_3 (word36 * x, uint p, word3 val) x 512 src/dps8/dps8_utils.h sim_printf ("putbits36_3: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 519 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 522 src/dps8/dps8_utils.h static inline void putbits36_4 (word36 * x, uint p, word4 val) x 527 src/dps8/dps8_utils.h sim_printf ("putbits36_4: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 534 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 537 src/dps8/dps8_utils.h static inline void putbits36_5 (word36 * x, uint p, word5 val) x 542 src/dps8/dps8_utils.h sim_printf ("putbits36_5: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 549 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 552 src/dps8/dps8_utils.h static inline void putbits36_6 (word36 * x, uint p, word6 val) x 557 src/dps8/dps8_utils.h sim_printf ("putbits36_6: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 564 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 567 src/dps8/dps8_utils.h static inline void putbits36_7 (word36 * x, uint p, word7 val) x 572 src/dps8/dps8_utils.h sim_printf ("putbits36_7: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 579 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 582 src/dps8/dps8_utils.h static inline void putbits36_8 (word36 * x, uint p, word8 val) x 587 src/dps8/dps8_utils.h sim_printf ("putbits36_8: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 594 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 597 src/dps8/dps8_utils.h static inline void putbits36_9 (word36 * x, uint p, word9 val) x 602 src/dps8/dps8_utils.h sim_printf ("putbits36_9: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 619 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 631 src/dps8/dps8_utils.h static inline void putbits36_10 (word36 * x, uint p, word10 val) x 636 src/dps8/dps8_utils.h sim_printf ("putbits36_10: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 643 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 646 src/dps8/dps8_utils.h static inline void putbits36_12 (word36 * x, uint p, word12 val) x 651 src/dps8/dps8_utils.h sim_printf ("putbits36_12: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 658 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 661 src/dps8/dps8_utils.h static inline void putbits36_13 (word36 * x, uint p, word13 val) x 666 src/dps8/dps8_utils.h sim_printf ("putbits36_13: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 673 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 676 src/dps8/dps8_utils.h static inline void putbits36_14 (word36 * x, uint p, word14 val) x 681 src/dps8/dps8_utils.h sim_printf ("putbits36_14: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 688 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 691 src/dps8/dps8_utils.h static inline void putbits36_15 (word36 * x, uint p, word15 val) x 696 src/dps8/dps8_utils.h sim_printf ("putbits36_15: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 703 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 706 src/dps8/dps8_utils.h static inline void putbits36_16 (word36 * x, uint p, word16 val) x 711 src/dps8/dps8_utils.h sim_printf ("putbits36_16: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 718 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 721 src/dps8/dps8_utils.h static inline void putbits36_17 (word36 * x, uint p, word17 val) x 726 src/dps8/dps8_utils.h sim_printf ("putbits36_17: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 733 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 736 src/dps8/dps8_utils.h static inline void putbits36_18 (word36 * x, uint p, word18 val) x 741 src/dps8/dps8_utils.h sim_printf ("putbits36_18: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 748 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 751 src/dps8/dps8_utils.h static inline void putbits36_23 (word36 * x, uint p, word23 val) x 756 src/dps8/dps8_utils.h sim_printf ("putbits36_23: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 763 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 766 src/dps8/dps8_utils.h static inline void putbits36_24 (word36 * x, uint p, word24 val) x 771 src/dps8/dps8_utils.h sim_printf ("putbits36_24: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 778 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 781 src/dps8/dps8_utils.h static inline void putbits36_28 (word36 * x, uint p, word28 val) x 786 src/dps8/dps8_utils.h sim_printf ("putbits36_28: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 793 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 796 src/dps8/dps8_utils.h static inline void putbits72 (word72 * x, uint p, uint n, word72 val) x 821 src/dps8/dps8_utils.h * x = or_128 (and_128 (* x, notmask), and_128 (lshift_128 (val, 72 - p - n), mask)); x 827 src/dps8/dps8_utils.h * x = (* x & ~mask) | ((val & MASKBITS72 (n)) << (72 - p - n)); x 834 src/dps8/dps8_utils.h static inline word18 getbits18 (word18 x, uint i, uint n) x 840 src/dps8/dps8_utils.h sim_printf ("getbits18: bad args (%06o,i=%d,n=%d)\n", x, i, n); x 844 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & ~ (~0U << n); x 849 src/dps8/dps8_utils.h static inline void putbits18 (word18 * x, uint p, uint n, word18 val) x 854 src/dps8/dps8_utils.h sim_printf ("putbits18: bad args (%06o,pos=%d,n=%d)\n", * x, p, n); x 861 src/dps8/dps8_utils.h * x = (* x & ~mask) | ((val & MASKBITS18 (n)) << (18 - p - n)); x 184 src/dps8/h316_imp.h # define LOBYTE(x) ((uint8_t) ( (x) & 0xFF)) x 185 src/dps8/h316_imp.h # define HIBYTE(x) ((uint8_t) (((x) >> 8) & 0xFF)) x 187 src/dps8/h316_imp.h # define LOWORD(x) ((uint16_t) ( (x) & 0xFFFF)) x 188 src/dps8/h316_imp.h # define HIWORD(x) ((uint16_t) (((x) >> 16) & 0xFFFF)) x 43 src/dps8/threadz.c # define pthread_setname_np(x,y) rename_thread(find_thread(NULL),y) x 52 src/dps8/uthash.h # define DECLTYPE(x) (decltype(x)) x 55 src/dps8/uthash.h # define DECLTYPE(x) x 58 src/dps8/uthash.h # define DECLTYPE(x) (__typeof(x)) x 606 src/dps8/uthash.h # define MUR_ROTL32(x,r) (((x) << (r)) | ((x) >> (32 - (r)))) x 82 src/dps8/utlist.h # define LDECLTYPE(x) decltype(x) x 85 src/dps8/utlist.h # define LDECLTYPE(x) char* x 88 src/dps8/utlist.h # define LDECLTYPE(x) __typeof(x) x 9957 src/simh/scp.c #define blankch(x) ((x) == ' ' || (x) == '\t') x 72 src/simh/sim_console.h # define TT_GET_MODE(x) (((x) >> TTUF_V_MODE) & (TTUF_M_MODE | (TTUF_M_PAR << TTUF_W_MODE))) x 142 src/simh/sim_defs.h # define INT64_C(x) x ## LL x 282 src/simh/sim_defs.h # define KBD_LIM_WAIT(x) (((x) > KBD_MAX_WAIT)? KBD_MAX_WAIT: (x)) x 287 src/simh/sim_defs.h # define SWMASK(x) (1u << (((int) (x)) - ((int) 'A'))) x 55 src/simh/sim_tape.h # define MTR_F(x) ((x) & MTR_ERF) /* record error flg */ x 56 src/simh/sim_tape.h # define MTR_L(x) ((x) & ~MTR_ERF) /* record length */