x 4963 src/decNumber/decNumber.c const decNumber *x=rhs; // (may point to safe copy later) x 5095 src/decNumber/decNumber.c x=newrhs; // ready for use x 5109 src/decNumber/decNumber.c p=MAXI(x->digits, set->digits)+h+2; // [h<=8] x 5138 src/decNumber/decNumber.c decNumberCopy(t, x); // term=x x 5158 src/decNumber/decNumber.c decMultiplyOp(t, t, x, &tset, &ignore); // t=t*x x 198 src/decNumber/decNumberLocal.h # define MAXI(x,y) ((x)<(y)?(y):(x)) x 199 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 48 src/dps8/bsd_random.h void bsd_srandom(unsigned int x); x 59 src/dps8/doAppendCycleABSA.h #define FMSG(x) x 57 src/dps8/doAppendCycleAPUDataRMW.h #define FMSG(x) x 57 src/dps8/doAppendCycleAPUDataRead.h #define FMSG(x) x 57 src/dps8/doAppendCycleAPUDataStore.h #define FMSG(x) x 142 src/dps8/doAppendCycleIndirectWordFetch.h #define FMSG(x) x 202 src/dps8/doAppendCycleInstructionFetch.h #define FMSG(x) x 57 src/dps8/doAppendCycleOperandRMW.h #define FMSG(x) x 206 src/dps8/doAppendCycleOperandRead.h #define FMSG(x) x 57 src/dps8/doAppendCycleOperandStore.h #define FMSG(x) x 57 src/dps8/doAppendCycleRTCDOperandFetch.h #define FMSG(x) x 89 src/dps8/dps8.h # define PNL(x) x x 91 src/dps8/dps8.h # define PNL(x) x 94 src/dps8/dps8.h # define L68_(x) if (cpu.tweaks.l68_mode) { x } x 95 src/dps8/dps8.h # define DPS8M_(x) if (! cpu.tweaks.l68_mode) { x } x 240 src/dps8/dps8.h # define SETF(flags, x) flags = ((flags) | (x)) x 241 src/dps8/dps8.h # define CLRF(flags, x) flags = ((flags) & ~(x)) x 242 src/dps8/dps8.h # define TSTF(flags, x) (((flags) & (x)) ? 1 : 0) x 243 src/dps8/dps8.h # define SCF(cond, flags, x) { if (cond) SETF((flags), x); else CLRF((flags), x); } x 585 src/dps8/dps8.h # define LIKELY(x) __builtin_expect(!!(x), 1) x 588 src/dps8/dps8.h # define UNLIKELY(x) __builtin_expect(!!(x), 0) x 592 src/dps8/dps8.h # define LIKELY(x) (x) x 595 src/dps8/dps8.h # define UNLIKELY(x) (x) x 1242 src/dps8/dps8_append.c # define FMSG(x) x 596 src/dps8/dps8_cpu.h word72s x; // a signed, 128-bit integers for playing with ... x 9315 src/dps8/dps8_eis.c word72 x = construct_128 (0, 0); x 9317 src/dps8/dps8_eis.c word72 x = 0; x 9330 src/dps8/dps8_eis.c x = lshift_128 (x, 9); x 9332 src/dps8/dps8_eis.c x <<= 9; // make room for next 9-bit byte x 9347 src/dps8/dps8_eis.c x = or_128 (x, construct_128 (0, GETBYTE (data, pos))); x 9349 src/dps8/dps8_eis.c x |= GETBYTE(data, pos); // fetch byte at position pos and 'or' it in x 9356 src/dps8/dps8_eis.c e->x = signExt9(x, n); // form proper 2's-complement integer x 9413 src/dps8/dps8_eis.c x 9622 src/dps8/dps8_eis.c word72 x = cast_128 (e->x); x 9623 src/dps8/dps8_eis.c if (islt_s128 (e->x, construct_s128 (0, 0))) x 9626 src/dps8/dps8_eis.c x = and_128 (negate_128 (x), MASK72); x 9638 src/dps8/dps8_eis.c x = divide_128_16 (x, 10, & r); x 9640 src/dps8/dps8_eis.c if (iszero_128 (x)) x 9644 src/dps8/dps8_eis.c word72 x = (word72)e->x; x 9645 src/dps8/dps8_eis.c if (e->x < 0) { x 9649 src/dps8/dps8_eis.c x = ((word72) (- (word72s) x)) & MASK72; x 9657 src/dps8/dps8_eis.c tmp[i] = x%10 + '0'; x 9658 src/dps8/dps8_eis.c x /= 10; x 9659 src/dps8/dps8_eis.c if (x == 0) x 9770 src/dps8/dps8_eis.c x 9900 src/dps8/dps8_eis.c x 9901 src/dps8/dps8_eis.c x 9903 src/dps8/dps8_eis.c x 9908 src/dps8/dps8_eis.c x 9910 src/dps8/dps8_eis.c x 9950 src/dps8/dps8_eis.c x 9954 src/dps8/dps8_eis.c x 9955 src/dps8/dps8_eis.c x 9963 src/dps8/dps8_eis.c x 10091 src/dps8/dps8_eis.c word72 x = construct_128 (0, 0); x 10094 src/dps8/dps8_eis.c x = multiply_128 (x, construct_128 (0, 10)); x 10096 src/dps8/dps8_eis.c x = add_128 (x, construct_128 (0, (uint) e->inBuffer[i])); x 10098 src/dps8/dps8_eis.c Ovr |= isgt_128 (x, msk) ? 1 : 0; x 10100 src/dps8/dps8_eis.c x = and_128 (x, msk); // multiplication and addition mod msk+1 x 10104 src/dps8/dps8_eis.c x = negate_128 (x); // no need to mask it x 10107 src/dps8/dps8_eis.c word72 x = 0; x 10109 src/dps8/dps8_eis.c x *= 10; x 10110 src/dps8/dps8_eis.c x += e->inBuffer[i]; x 10112 src/dps8/dps8_eis.c Ovr |= x>msk?1:0; x 10113 src/dps8/dps8_eis.c x &= msk; // multiplication and addition mod msk+1 x 10118 src/dps8/dps8_eis.c x = (word72) (- (word72s) x); // no need to mask it x 10129 src/dps8/dps8_eis.c EISwrite9(cpup, &e->ADDR2, &pos, (word9) rshift_128 (x, (uint) shift).l & 0777); x 10131 src/dps8/dps8_eis.c EISwrite9(cpup, &e->ADDR2, &pos, (word9) (x >> shift )& 0777); x 10138 src/dps8/dps8_eis.c SC_I_ZERO (iszero_128 (x)); // set zero indicator x 10140 src/dps8/dps8_eis.c SC_I_ZERO (x==0); // set zero indicator x 10158 src/dps8/dps8_eis.c #define ASC(x) ((x) + '0') x 71 src/dps8/dps8_fnp2_iomcmd.c static inline void l_putbits36_1 (vol word36 * x, uint p, word1 val) x 76 src/dps8/dps8_fnp2_iomcmd.c sim_printf ("l_putbits36_1: bad args (%012"PRIo64",pos=%d)\n", *x, p); x 84 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 2188 src/dps8/dps8_ins.c uint x = (uint) getbits18 (cpu.rX[0], 0, 8); x 2191 src/dps8/dps8_ins.c x = (uint) (((int) x) - 1); x 2192 src/dps8/dps8_ins.c x &= MASK8; x 2193 src/dps8/dps8_ins.c putbits18 (& cpu.rX[0], 0, 8, x); x 2202 src/dps8/dps8_ins.c sim_debug (DBG_TRACEEXT, & cpu_dev, "tally %d\n", x); x 2203 src/dps8/dps8_ins.c if (x == 0) { x 50 src/dps8/dps8_math.c long double ldexpl(long double x, int n) { x 51 src/dps8/dps8_math.c return __builtin_ldexpl(x, n); x 235 src/dps8/dps8_math.c static long double MYfrexpl(long double x, int *exp) x 241 src/dps8/dps8_math.c if (x != x || x + x == x ) x 244 src/dps8/dps8_math.c return x; x 247 src/dps8/dps8_math.c if (x < 0) x 248 src/dps8/dps8_math.c return -MYfrexpl(-x, exp); x 251 src/dps8/dps8_math.c if (x > 1.0) x 254 src/dps8/dps8_math.c *next <= x + x; x 258 src/dps8/dps8_math.c if (x + x >= *next) x 260 src/dps8/dps8_math.c x /= *next; x 266 src/dps8/dps8_math.c else if (x < 0.5) x 269 src/dps8/dps8_math.c *next > x; x 273 src/dps8/dps8_math.c if (x < *next) x 275 src/dps8/dps8_math.c x /= *next; x 283 src/dps8/dps8_math.c return x; x 336 src/dps8/dps8_math128.c nlz (unsigned x) x 340 src/dps8/dps8_math128.c if (x == 0) x 345 src/dps8/dps8_math128.c if (x <= 0x0000FFFF) x 348 src/dps8/dps8_math128.c x = x << 16; x 351 src/dps8/dps8_math128.c if (x <= 0x00FFFFFF) x 354 src/dps8/dps8_math128.c x = x << 8; x 357 src/dps8/dps8_math128.c if (x <= 0x0FFFFFFF) x 360 src/dps8/dps8_math128.c x = x << 4; x 363 src/dps8/dps8_math128.c if (x <= 0x3FFFFFFF) x 366 src/dps8/dps8_math128.c x = x << 2; x 369 src/dps8/dps8_math128.c if (x <= 0x7FFFFFFF) x 23 src/dps8/dps8_math128.h # define cast_128(x) construct_128 ((uint64_t) (x).h, (x).l) x 24 src/dps8/dps8_math128.h # define cast_s128(x) construct_s128 ((int64_t) (x).h, (x).l) x 1354 src/dps8/dps8_mgp.c int x = write(skt, pkt, len); x 1355 src/dps8/dps8_mgp.c if (x < 0) x 1372 src/dps8/dps8_mgp.c else if (x != len) x 1374 src/dps8/dps8_mgp.c sim_printf("%s: wrote %d bytes (expected %d)\n", __func__, x, len); x 1378 src/dps8/dps8_mgp.c return x; x 104 src/dps8/dps8_utils.h x 114 src/dps8/dps8_utils.h x 118 src/dps8/dps8_utils.h static inline word36 getbits36(word36 x, uint i, uint n) { x 122 src/dps8/dps8_utils.h sim_printf ("getbits36: bad args (%012llu,i=%d,n=%d)\n", (unsigned long long)x, i, n); x 125 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & ~ (~0U << n); x 128 src/dps8/dps8_utils.h static inline word1 getbits36_1 (word36 x, uint i) x 133 src/dps8/dps8_utils.h sim_printf ("getbits36_1: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 136 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 01; x 139 src/dps8/dps8_utils.h static inline word2 getbits36_2 (word36 x, uint i) x 144 src/dps8/dps8_utils.h sim_printf ("getbits36_2: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 147 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 03; x 150 src/dps8/dps8_utils.h static inline word3 getbits36_3 (word36 x, uint i) x 155 src/dps8/dps8_utils.h sim_printf ("getbits36_3: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 158 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 07; x 161 src/dps8/dps8_utils.h static inline word4 getbits36_4 (word36 x, uint i) x 166 src/dps8/dps8_utils.h sim_printf ("getbits36_4: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 169 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 017; x 172 src/dps8/dps8_utils.h static inline word5 getbits36_5 (word36 x, uint i) x 177 src/dps8/dps8_utils.h sim_printf ("getbits36_5: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 180 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 037; x 183 src/dps8/dps8_utils.h static inline word6 getbits36_6 (word36 x, uint i) x 188 src/dps8/dps8_utils.h sim_printf ("getbits36_6: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 191 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 077; x 194 src/dps8/dps8_utils.h static inline word7 getbits36_7 (word36 x, uint i) x 199 src/dps8/dps8_utils.h sim_printf ("getbits36_7: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 202 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 0177; x 205 src/dps8/dps8_utils.h static inline word8 getbits36_8 (word36 x, uint i) x 210 src/dps8/dps8_utils.h sim_printf ("getbits36_8: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 213 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 0377; x 216 src/dps8/dps8_utils.h static inline word9 getbits36_9 (word36 x, uint i) x 221 src/dps8/dps8_utils.h sim_printf ("getbits36_9: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 224 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 0777; x 227 src/dps8/dps8_utils.h static inline word10 getbits36_10 (word36 x, uint i) x 232 src/dps8/dps8_utils.h sim_printf ("getbits36_10: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 235 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 01777; x 238 src/dps8/dps8_utils.h static inline word12 getbits36_12 (word36 x, uint i) x 243 src/dps8/dps8_utils.h sim_printf ("getbits36_12: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 246 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 07777; x 249 src/dps8/dps8_utils.h static inline word14 getbits36_14 (word36 x, uint i) x 254 src/dps8/dps8_utils.h sim_printf ("getbits36_14: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 257 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 037777; x 260 src/dps8/dps8_utils.h static inline word15 getbits36_15 (word36 x, uint i) x 265 src/dps8/dps8_utils.h sim_printf ("getbits36_15: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 268 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 077777; x 271 src/dps8/dps8_utils.h static inline word16 getbits36_16 (word36 x, uint i) x 276 src/dps8/dps8_utils.h sim_printf ("getbits36_16: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 279 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 0177777; x 282 src/dps8/dps8_utils.h static inline word18 getbits36_18 (word36 x, uint i) x 287 src/dps8/dps8_utils.h sim_printf ("getbits36_18: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 290 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 0777777; x 293 src/dps8/dps8_utils.h static inline word24 getbits36_24 (word36 x, uint i) x 298 src/dps8/dps8_utils.h sim_printf ("getbits36_24: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 301 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & MASK24; x 304 src/dps8/dps8_utils.h static inline word28 getbits36_28 (word36 x, uint i) x 309 src/dps8/dps8_utils.h sim_printf ("getbits36_28: bad args (%012llu,i=%d)\n", (unsigned long long)x, i); x 312 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & 01777777777; x 315 src/dps8/dps8_utils.h static inline word36 setbits36(word36 x, uint p, uint n, word36 val) x 319 src/dps8/dps8_utils.h sim_printf ("setbits36: bad args (%012llu,pos=%d,n=%d)\n", (unsigned long long)x, p, n); x 326 src/dps8/dps8_utils.h word36 result = (x & ~ mask) | ((val&MASKBITS(n)) << (36 - p - n)); x 330 src/dps8/dps8_utils.h static inline word36 setbits36_1 (word36 x, uint p, word1 val) x 335 src/dps8/dps8_utils.h sim_printf ("setbits36_1: bad args (%012llu,pos=%d)\n", (unsigned long long)x, p); x 342 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); x 346 src/dps8/dps8_utils.h static inline word36 setbits36_4 (word36 x, uint p, word4 val) x 351 src/dps8/dps8_utils.h sim_printf ("setbits36_4: bad args (%012llu,pos=%d)\n", (unsigned long long)x, p); x 358 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); x 362 src/dps8/dps8_utils.h static inline word36 setbits36_5 (word36 x, uint p, word5 val) x 367 src/dps8/dps8_utils.h sim_printf ("setbits36_5: bad args (%012llu,pos=%d)\n", (unsigned long long)x, p); x 374 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); x 378 src/dps8/dps8_utils.h static inline word36 setbits36_6 (word36 x, uint p, word6 val) x 383 src/dps8/dps8_utils.h sim_printf ("setbits36_6: bad args (%012llu,pos=%d)\n", (unsigned long long)x, p); x 390 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); x 394 src/dps8/dps8_utils.h static inline word36 setbits36_8 (word36 x, uint p, word8 val) x 399 src/dps8/dps8_utils.h sim_printf ("setbits36_8: bad args (%012llu,pos=%d)\n", (unsigned long long)x, p); x 406 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); x 410 src/dps8/dps8_utils.h static inline word36 setbits36_9 (word36 x, uint p, word9 val) x 415 src/dps8/dps8_utils.h sim_printf ("setbits36_9: bad args (%012llu,pos=%d)\n", (unsigned long long)x, p); x 422 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); x 426 src/dps8/dps8_utils.h static inline word36 setbits36_16 (word36 x, uint p, word16 val) x 431 src/dps8/dps8_utils.h sim_printf ("setbits36_16: bad args (%012llu,pos=%d)\n", (unsigned long long)x, p); x 438 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); x 442 src/dps8/dps8_utils.h static inline word36 setbits36_24 (word36 x, uint p, word24 val) x 447 src/dps8/dps8_utils.h sim_printf ("setbits36_24: bad args (%012llu,pos=%d)\n", (unsigned long long)x, p); x 454 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); x 458 src/dps8/dps8_utils.h static inline void putbits36 (word36 * x, uint p, uint n, word36 val) x 463 src/dps8/dps8_utils.h sim_printf ("putbits36: bad args (%012llu,pos=%d,n=%d)\n", (unsigned long long)*x, p, n); x 470 src/dps8/dps8_utils.h * x = (* x & ~mask) | ((val & MASKBITS (n)) << (36 - p - n)); x 474 src/dps8/dps8_utils.h static inline void putbits36_1 (word36 * x, uint p, word1 val) x 479 src/dps8/dps8_utils.h sim_printf ("putbits36_1: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 486 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 489 src/dps8/dps8_utils.h static inline void putbits36_2 (word36 * x, uint p, word2 val) x 494 src/dps8/dps8_utils.h sim_printf ("putbits36_2: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 501 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 504 src/dps8/dps8_utils.h static inline void putbits36_3 (word36 * x, uint p, word3 val) x 509 src/dps8/dps8_utils.h sim_printf ("putbits36_3: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 516 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 519 src/dps8/dps8_utils.h static inline void putbits36_4 (word36 * x, uint p, word4 val) x 524 src/dps8/dps8_utils.h sim_printf ("putbits36_4: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 531 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 534 src/dps8/dps8_utils.h static inline void putbits36_5 (word36 * x, uint p, word5 val) x 539 src/dps8/dps8_utils.h sim_printf ("putbits36_5: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 546 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 549 src/dps8/dps8_utils.h static inline void putbits36_6 (word36 * x, uint p, word6 val) x 554 src/dps8/dps8_utils.h sim_printf ("putbits36_6: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 561 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 564 src/dps8/dps8_utils.h static inline void putbits36_7 (word36 * x, uint p, word7 val) x 569 src/dps8/dps8_utils.h sim_printf ("putbits36_7: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 576 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 579 src/dps8/dps8_utils.h static inline void putbits36_8 (word36 * x, uint p, word8 val) x 584 src/dps8/dps8_utils.h sim_printf ("putbits36_8: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 591 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 594 src/dps8/dps8_utils.h static inline void putbits36_9 (word36 * x, uint p, word9 val) x 599 src/dps8/dps8_utils.h sim_printf ("putbits36_9: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 616 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 628 src/dps8/dps8_utils.h static inline void putbits36_10 (word36 * x, uint p, word10 val) x 633 src/dps8/dps8_utils.h sim_printf ("putbits36_10: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 640 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 643 src/dps8/dps8_utils.h static inline void putbits36_12 (word36 * x, uint p, word12 val) x 648 src/dps8/dps8_utils.h sim_printf ("putbits36_12: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 655 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 658 src/dps8/dps8_utils.h static inline void putbits36_13 (word36 * x, uint p, word13 val) x 663 src/dps8/dps8_utils.h sim_printf ("putbits36_13: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 670 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 673 src/dps8/dps8_utils.h static inline void putbits36_14 (word36 * x, uint p, word14 val) x 678 src/dps8/dps8_utils.h sim_printf ("putbits36_14: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 685 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 688 src/dps8/dps8_utils.h static inline void putbits36_15 (word36 * x, uint p, word15 val) x 693 src/dps8/dps8_utils.h sim_printf ("putbits36_15: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 700 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 703 src/dps8/dps8_utils.h static inline void putbits36_16 (word36 * x, uint p, word16 val) x 708 src/dps8/dps8_utils.h sim_printf ("putbits36_16: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 715 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 718 src/dps8/dps8_utils.h static inline void putbits36_17 (word36 * x, uint p, word17 val) x 723 src/dps8/dps8_utils.h sim_printf ("putbits36_17: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 730 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 733 src/dps8/dps8_utils.h static inline void putbits36_18 (word36 * x, uint p, word18 val) x 738 src/dps8/dps8_utils.h sim_printf ("putbits36_18: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 745 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 748 src/dps8/dps8_utils.h static inline void putbits36_23 (word36 * x, uint p, word23 val) x 753 src/dps8/dps8_utils.h sim_printf ("putbits36_23: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 760 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 763 src/dps8/dps8_utils.h static inline void putbits36_24 (word36 * x, uint p, word24 val) x 768 src/dps8/dps8_utils.h sim_printf ("putbits36_24: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 775 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 778 src/dps8/dps8_utils.h static inline void putbits36_28 (word36 * x, uint p, word28 val) x 783 src/dps8/dps8_utils.h sim_printf ("putbits36_28: bad args (%012llu,pos=%d)\n", (unsigned long long)*x, p); x 790 src/dps8/dps8_utils.h * x = (* x & ~ smask) | (((word36) val & mask) << shift); x 793 src/dps8/dps8_utils.h static inline void putbits72 (word72 * x, uint p, uint n, word72 val) x 818 src/dps8/dps8_utils.h * x = or_128 (and_128 (* x, notmask), and_128 (lshift_128 (val, 72 - p - n), mask)); x 824 src/dps8/dps8_utils.h * x = (* x & ~mask) | ((val & MASKBITS72 (n)) << (72 - p - n)); x 831 src/dps8/dps8_utils.h static inline word18 getbits18 (word18 x, uint i, uint n) x 837 src/dps8/dps8_utils.h sim_printf ("getbits18: bad args (%06o,i=%d,n=%d)\n", x, i, n); x 841 src/dps8/dps8_utils.h return (x >> (unsigned) shift) & ~ (~0U << n); x 846 src/dps8/dps8_utils.h static inline void putbits18 (word18 * x, uint p, uint n, word18 val) x 851 src/dps8/dps8_utils.h sim_printf ("putbits18: bad args (%06o,pos=%d,n=%d)\n", * x, p, n); x 858 src/dps8/dps8_utils.h * x = (* x & ~mask) | ((val & MASKBITS18 (n)) << (18 - p - n)); x 183 src/dps8/h316_imp.h # define LOBYTE(x) ((uint8_t) ( (x) & 0xFF)) x 187 src/dps8/h316_imp.h # define HIBYTE(x) ((uint8_t) (((x) >> 8) & 0xFF)) x 195 src/dps8/h316_imp.h # define LOWORD(x) ((uint16_t) ( (x) & 0xFFFF)) x 199 src/dps8/h316_imp.h # define HIWORD(x) ((uint16_t) ( ((x) >> 16) & 0xFFFF) ) x 40 src/dps8/threadz.c # define pthread_setname_np(x,y) rename_thread(find_thread(NULL),y) x 44 src/libsir/include/sir/platform_importc.h # define __builtin_bswap16(x) _OSSwapInt16(x) x 46 src/libsir/include/sir/platform_importc.h # define __builtin_bswap32(x) _OSSwapInt32(x) x 48 src/libsir/include/sir/platform_importc.h # define __builtin_bswap64(x) _OSSwapInt64(x) x 65 src/libsir/include/sir/platform_importc.h # define __builtin_bswap16(x) swap_16(x) x 67 src/libsir/include/sir/platform_importc.h # define __builtin_bswap32(x) swap_32(x) x 69 src/libsir/include/sir/platform_importc.h # define __builtin_bswap64(x) swap_64(x) x 73 src/libsir/include/sir/platform_importc.h # define __builtin_bswap16(x) bswap_16(x) x 75 src/libsir/include/sir/platform_importc.h # define __builtin_bswap32(x) bswap_32(x) x 77 src/libsir/include/sir/platform_importc.h # define __builtin_bswap64(x) bswap_64(x) x 87 src/libsir/include/sir/platform_importc.h # define __builtin_bswap16(x) bswap16(x) x 89 src/libsir/include/sir/platform_importc.h # define __builtin_bswap32(x) bswap32(x) x 91 src/libsir/include/sir/platform_importc.h # define __builtin_bswap64(x) bswap64(x) x 110 src/libsir/include/sir/platform_importc.h # define __builtin___strlcat_chk(dest, src, x, n) strlcat(dest, src, x) x 112 src/libsir/include/sir/platform_importc.h # define __builtin___strlcpy_chk(dest, src, x, n) strlcpy(dest, src, x) x 58 src/libsir/include/sir/version.h # define _SIR_VER2STR(x) #x x 4568 src/simh/scp.c int i, x; x 4569 src/simh/scp.c for (i=x=0; str[i]; ++i) x 4573 src/simh/scp.c str[x++] = str[i]; x 4576 src/simh/scp.c str[x] = '\0'; x 4578 src/simh/scp.c x = 0; x 4579 src/simh/scp.c while (str[x] != '\0') x 4581 src/simh/scp.c if (str[x] != ' ' && str[x] != '\t' && str[x] != '\n') x 4583 src/simh/scp.c i=x; x 4585 src/simh/scp.c x++; x 10576 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 156 src/simh/sim_defs.h # define INT64_C(x) x ## LL x 294 src/simh/sim_defs.h # define KBD_LIM_WAIT(x) (((x) > KBD_MAX_WAIT)? KBD_MAX_WAIT: (x)) x 299 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 */