bits 259 src/decNumber/decNumber.c #define SPECIALARG (rhs->bits & DECSPECIAL) bits 260 src/decNumber/decNumber.c #define SPECIALARGS ((lhs->bits | rhs->bits) & DECSPECIAL) bits 284 src/decNumber/decNumber.c if (in<0) dn->bits=DECNEG; // sign needed bits 312 src/decNumber/decNumber.c if (dn->bits&DECSPECIAL || dn->digits>10 || dn->exponent!=0) ; // bad bits 329 src/decNumber/decNumber.c if (dn->bits&DECNEG && hi==214748364 && lo==8) return 0x80000000; bits 334 src/decNumber/decNumber.c if (dn->bits&DECNEG) return -i; bits 344 src/decNumber/decNumber.c if (dn->bits&DECSPECIAL || dn->digits>10 || dn->exponent!=0 bits 345 src/decNumber/decNumber.c || (dn->bits&DECNEG && !ISZERO(dn))); // bad bits 415 src/decNumber/decNumber.c uByte bits=0; // working flags [assume +ve] bits 446 src/decNumber/decNumber.c bits=DECNEG; bits 468 src/decNumber/decNumber.c dn->bits=bits | DECINF; bits 474 src/decNumber/decNumber.c dn->bits=bits | DECNAN; // assume simple NaN bits 477 src/decNumber/decNumber.c dn->bits=bits | DECSNAN; bits 506 src/decNumber/decNumber.c bits=dn->bits; // for copy-back bits 610 src/decNumber/decNumber.c dn->bits=bits; bits 663 src/decNumber/decNumber.c decAddOp(res, &dzero, rhs, set, (uByte)(rhs->bits & DECNEG), &status); bits 753 src/decNumber/decNumber.c res->bits=0; // sign=0 bits 854 src/decNumber/decNumber.c a->bits&=~DECNEG; // .. and clear the sign bits 868 src/decNumber/decNumber.c b->bits&=~DECNEG; // .. and clear the sign bits 1042 src/decNumber/decNumber.c res->bits=DECNAN; bits 1109 src/decNumber/decNumber.c res->bits=0; // sign=0 bits 1209 src/decNumber/decNumber.c res->bits=DECNEG|DECINF; // -Infinity bits 1282 src/decNumber/decNumber.c if (rhs->bits&(DECNAN|DECSNAN)) { bits 1308 src/decNumber/decNumber.c if (!(rhs->bits&(DECNEG|DECSPECIAL)) && !ISZERO(rhs)) { bits 1354 src/decNumber/decNumber.c if (a->bits&DECSPECIAL || ISZERO(a)) { bits 1517 src/decNumber/decNumber.c if ((rhs->bits&(DECINF|DECNEG))==DECINF) { bits 1558 src/decNumber/decNumber.c if ((rhs->bits&(DECINF|DECNEG))==(DECINF|DECNEG)) { bits 1560 src/decNumber/decNumber.c res->bits=DECNEG; // negative bits 1615 src/decNumber/decNumber.c if ((lhs->bits&(DECINF|DECNEG))==(DECINF|DECNEG)) { bits 1617 src/decNumber/decNumber.c res->bits=DECNEG; // negative bits 1625 src/decNumber/decNumber.c if ((lhs->bits&(DECINF|DECNEG))==DECINF) { bits 1708 src/decNumber/decNumber.c res->bits=0; // sign=0 bits 1807 src/decNumber/decNumber.c uByte bits=0; // result sign if errors bits 1839 src/decNumber/decNumber.c Flag rhsneg=rhs->bits&DECNEG; // save rhs sign bits 1849 src/decNumber/decNumber.c if (rhsneg) res->bits|=DECINF; // +Infinity [else is +0] bits 1860 src/decNumber/decNumber.c if (!rhsneg) res->bits|=DECINF; // +Infinity [else is +0] bits 1877 src/decNumber/decNumber.c && isoddint) bits=DECNEG; // .. to an odd power bits 1881 src/decNumber/decNumber.c uByte rbits=rhs->bits; // save bits 1889 src/decNumber/decNumber.c if (!(rbits & DECNEG)) bits|=DECINF; // was not a **-n bits 1891 src/decNumber/decNumber.c res->bits=bits; bits 1907 src/decNumber/decNumber.c uByte rbits=rhs->bits; // save bits 1914 src/decNumber/decNumber.c bits|=DECINF; bits 1918 src/decNumber/decNumber.c res->bits=bits; bits 2079 src/decNumber/decNumber.c dac->bits=(dac->bits & ~DECNEG) | bits; // force correct sign bits 2751 src/decNumber/decNumber.c t->bits=0; t->digits=3; bits 2752 src/decNumber/decNumber.c a->bits=0; a->digits=3; bits 3091 src/decNumber/decNumber.c res->bits=0; // sign=0 bits 3166 src/decNumber/decNumber.c dest->bits=src->bits; bits 3196 src/decNumber/decNumber.c res->bits&=~DECNEG; // turn off sign bits 3214 src/decNumber/decNumber.c res->bits^=DECNEG; // invert the sign bits 3233 src/decNumber/decNumber.c sign=rhs->bits & DECNEG; // save sign bit bits 3235 src/decNumber/decNumber.c res->bits&=~DECNEG; // clear the sign bits 3236 src/decNumber/decNumber.c res->bits|=sign; // set from rhs bits 3373 src/decNumber/decNumber.c dn->bits=0; bits 3411 src/decNumber/decNumber.c if (dn->bits&DECSPECIAL) { // Is a special value bits 3417 src/decNumber/decNumber.c if (dn->bits&DECSNAN) { // signalling NaN bits 3586 src/decNumber/decNumber.c uByte bits; // result bits bits 3615 src/decNumber/decNumber.c diffsign=(Flag)((lhs->bits^rhs->bits^negate)&DECNEG); bits 3628 src/decNumber/decNumber.c bits=lhs->bits & DECNEG; // get sign from LHS bits 3630 src/decNumber/decNumber.c else bits=(rhs->bits^negate) & DECNEG;// RHS must be Infinity bits 3631 src/decNumber/decNumber.c bits|=DECINF; bits 3633 src/decNumber/decNumber.c res->bits=bits; // set +/- infinity bits 3642 src/decNumber/decNumber.c bits=lhs->bits; // .. bits 3643 src/decNumber/decNumber.c (void)bits; bits 3646 src/decNumber/decNumber.c res->bits^=negate; // flip if rhs was negated bits 3656 src/decNumber/decNumber.c if (set->round!=DEC_ROUND_FLOOR) res->bits=0; bits 3657 src/decNumber/decNumber.c else res->bits=DECNEG; // preserve 0 sign bits 3679 src/decNumber/decNumber.c bits=rhs->bits; // be clean bits 3680 src/decNumber/decNumber.c (void)bits; bits 3746 src/decNumber/decNumber.c bits=lhs->bits; // assume sign is that of LHS bits 3758 src/decNumber/decNumber.c bits=(uByte)(rhs->bits^negate); // assumed sign is now that of RHS bits 3766 src/decNumber/decNumber.c dtiny.bits=lhs->bits; bits 3807 src/decNumber/decNumber.c res->bits=(uByte)(bits&DECNEG); // it's now safe to overwrite.. bits 3817 src/decNumber/decNumber.c res->bits^=DECNEG; // flip the sign bits 3880 src/decNumber/decNumber.c if (set->round==DEC_ROUND_FLOOR) res->bits|=DECNEG; // sign - bits 3881 src/decNumber/decNumber.c else res->bits&=~DECNEG; // sign + bits 3998 src/decNumber/decNumber.c uByte bits; // working sign bits 4025 src/decNumber/decNumber.c bits=(lhs->bits^rhs->bits)&DECNEG; // assumed sign for divisions bits 4026 src/decNumber/decNumber.c (void)bits; bits 4042 src/decNumber/decNumber.c res->bits=bits|DECINF; // set +/- infinity bits 4053 src/decNumber/decNumber.c res->bits=bits; // set +/- zero bits 4077 src/decNumber/decNumber.c res->bits=bits|DECINF; // .. is +/- Infinity bits 4091 src/decNumber/decNumber.c res->bits=bits; // sign as computed bits 4096 src/decNumber/decNumber.c res->bits=bits; // sign as computed bits 4125 src/decNumber/decNumber.c res->bits=bits; // set +/- zero bits 4399 src/decNumber/decNumber.c bits=lhs->bits; // remainder sign is always as lhs bits 4411 src/decNumber/decNumber.c res->bits=(uByte)(bits&DECNEG); // [cleaned] bits 4507 src/decNumber/decNumber.c bits^=DECNEG; // flip the sign bits 4515 src/decNumber/decNumber.c res->bits=(uByte)(bits&DECNEG); // [cleaned] bits 4580 src/decNumber/decNumber.c uByte bits; // result sign bits 4636 src/decNumber/decNumber.c bits=(uByte)((lhs->bits^rhs->bits)&DECNEG); bits 4637 src/decNumber/decNumber.c (void)bits; bits 4644 src/decNumber/decNumber.c if (((lhs->bits & DECINF)==0 && ISZERO(lhs)) bits 4645 src/decNumber/decNumber.c ||((rhs->bits & DECINF)==0 && ISZERO(rhs))) { bits 4649 src/decNumber/decNumber.c res->bits=bits|DECINF; // infinity bits 4847 src/decNumber/decNumber.c res->bits=bits; // set sign bits 5336 src/decNumber/decNumber.c res->bits=DECINF|DECNEG; // set - infinity bits 5428 src/decNumber/decNumber.c b->bits=DECNEG; // ln(0.10)->ln(0.99) always -ve bits 5464 src/decNumber/decNumber.c a->bits^=DECNEG; // make -a bits 5466 src/decNumber/decNumber.c a->bits^=DECNEG; // restore sign of a bits 5575 src/decNumber/decNumber.c else if ((lhs->bits ^ rhs->bits) & DECINF) bits 5607 src/decNumber/decNumber.c if (!set->extended) res->bits=0; // subset specification; no -0 bits 5642 src/decNumber/decNumber.c if (ISZERO(res) && !set->extended) res->bits=0; // subset; no -0 bits 5753 src/decNumber/decNumber.c merged=(lhs->bits | rhs->bits) & (DECSNAN | DECNAN); bits 5782 src/decNumber/decNumber.c if (lhs->bits & DECNAN) result=-1; // pick rhs bits 5811 src/decNumber/decNumber.c if (result<0) res->bits=DECNEG; bits 5821 src/decNumber/decNumber.c uByte slhs=(lhs->bits & DECNEG); bits 5822 src/decNumber/decNumber.c uByte srhs=(rhs->bits & DECNEG); bits 5898 src/decNumber/decNumber.c if ((lhs->bits | rhs->bits) & DECINF) { // one or more infinities bits 6294 src/decNumber/decNumber.c if ((dn->bits & DECSPECIAL) // fast exit if special .. bits 6537 src/decNumber/decNumber.c dest->bits=src->bits; bits 6931 src/decNumber/decNumber.c dn->bits=0; // .. and sign bits 7036 src/decNumber/decNumber.c uByte sign=dn->bits&DECNEG; // clean and save sign bit bits 7066 src/decNumber/decNumber.c dn->bits=sign; // set sign bits 7068 src/decNumber/decNumber.c else dn->bits=sign|DECINF; // Value is +/-Infinity bits 7093 src/decNumber/decNumber.c dn->bits=0; // + sign bits 7370 src/decNumber/decNumber.c if (lhs->bits & DECSNAN) bits 7373 src/decNumber/decNumber.c else if (rhs->bits & DECSNAN) { bits 7377 src/decNumber/decNumber.c else if (lhs->bits & DECNAN); bits 7386 src/decNumber/decNumber.c res->bits=lhs->bits; // need sign etc. bits 7396 src/decNumber/decNumber.c res->bits&=~DECSNAN; // convert any sNaN to NaN, while bits 7397 src/decNumber/decNumber.c res->bits|=DECNAN; // .. preserving sign bits 7424 src/decNumber/decNumber.c dn->bits=DECNAN; // and make a quiet NaN bits 74 src/decNumber/decNumber.h uint8_t bits; /* Indicator bits (see above) */ bits 172 src/decNumber/decNumber.h # define decNumberIsFinite(dn) (((dn)->bits&DECSPECIAL)==0) bits 173 src/decNumber/decNumber.h # define decNumberIsInfinite(dn) (((dn)->bits&DECINF)!=0) bits 174 src/decNumber/decNumber.h # define decNumberIsNaN(dn) (((dn)->bits&(DECNAN|DECSNAN))!=0) bits 175 src/decNumber/decNumber.h # define decNumberIsNegative(dn) (((dn)->bits&DECNEG)!=0) bits 176 src/decNumber/decNumber.h # define decNumberIsQNaN(dn) (((dn)->bits&(DECNAN))!=0) bits 177 src/decNumber/decNumber.h # define decNumberIsSNaN(dn) (((dn)->bits&(DECSNAN))!=0) bits 178 src/decNumber/decNumber.h # define decNumberIsSpecial(dn) (((dn)->bits&DECSPECIAL)!=0) bits 181 src/decNumber/decNumber.h && (((dn)->bits&DECSPECIAL)==0)) bits 251 src/dps8/doAppendCycleAPUDataRMW.h doFault (FAULT_DF0 + cpu.PTW0.FC, (_fault_subtype) {.bits=0}, "PTW0.F == 0"); bits 213 src/dps8/doAppendCycleAPUDataRead.h doFault (FAULT_DF0 + cpu.PTW0.FC, (_fault_subtype) {.bits=0}, "PTW0.F == 0"); bits 212 src/dps8/doAppendCycleAPUDataStore.h doFault (FAULT_DF0 + cpu.PTW0.FC, (_fault_subtype) {.bits=0}, "PTW0.F == 0"); bits 317 src/dps8/doAppendCycleIndirectWordFetch.h doFault (FAULT_DF0 + cpu.PTW0.FC, (_fault_subtype) {.bits=0}, "PTW0.F == 0"); bits 448 src/dps8/doAppendCycleInstructionFetch.h doFault (FAULT_DF0 + cpu.PTW0.FC, (_fault_subtype) {.bits=0}, "PTW0.F == 0"); bits 251 src/dps8/doAppendCycleOperandRMW.h doFault (FAULT_DF0 + cpu.PTW0.FC, (_fault_subtype) {.bits=0}, "PTW0.F == 0"); bits 556 src/dps8/doAppendCycleOperandRead.h doFault (FAULT_DF0 + cpu.PTW0.FC, (_fault_subtype) {.bits=0}, bits 211 src/dps8/doAppendCycleOperandStore.h doFault (FAULT_DF0 + cpu.PTW0.FC, (_fault_subtype) {.bits=0}, "PTW0.F == 0"); bits 246 src/dps8/doAppendCycleRTCDOperandFetch.h doFault (FAULT_DF0 + cpu.PTW0.FC, (_fault_subtype) {.bits=0}, "PTW0.F == 0"); bits 1783 src/dps8/dps8_append.c doFault (FAULT_DF0 + cpu.PTW0.FC, (_fault_subtype) {.bits=0}, bits 236 src/dps8/dps8_decimal.c bits 422 src/dps8/dps8_eis.c bits 423 src/dps8/dps8_eis.c bits 1205 src/dps8/dps8_eis.c bits 1206 src/dps8/dps8_eis.c bits 2193 src/dps8/dps8_eis.c word24 bits = 9u * GET_AR_CHAR (ARn) + GET_AR_BITNO (ARn) + r; bits 2197 src/dps8/dps8_eis.c bits / 36) & MASK18; bits 2202 src/dps8/dps8_eis.c SET_AR_CHAR_BITNO (ARn, (bits % 36) / 9, bits 2203 src/dps8/dps8_eis.c bits % 9); bits 2435 src/dps8/dps8_eis.c word24 bits = 9u * GET_AR_CHAR (ARn) + GET_AR_BITNO (ARn) - r; bits 2437 src/dps8/dps8_eis.c address + bits / 36) & MASK18; bits 2440 src/dps8/dps8_eis.c SET_AR_CHAR_BITNO (ARn, (- ((bits % 36) / 9)) & MASK2, bits 2441 src/dps8/dps8_eis.c (- (bits % 9)) & MASK4); bits 7476 src/dps8/dps8_eis.c op1->bits |= DECNEG; bits 7484 src/dps8/dps8_eis.c op2->bits |= DECNEG; bits 7804 src/dps8/dps8_eis.c op1->bits |= DECNEG; bits 9285 src/dps8/dps8_eis.c int bits = (N * 9) - 1; bits 9289 src/dps8/dps8_eis.c uint128 extBits = lshift_128 (construct_128 (MASK64, MASK64), (uint) bits); bits 9293 src/dps8/dps8_eis.c uint128 extBits = ((uint128)-1 << bits); bits 9298 src/dps8/dps8_eis.c uint128 zeroBits = complement_128 (lshift_128 (construct_128 (MASK64, MASK64), (uint) bits)); bits 9302 src/dps8/dps8_eis.c uint128 zeroBits = ~((uint128)-1 << bits); bits 9667 src/dps8/dps8_eis.c op1->bits |= DECNEG; bits 10079 src/dps8/dps8_eis.c bits 10293 src/dps8/dps8_eis.c op1->bits |= DECNEG; bits 10301 src/dps8/dps8_eis.c op2->bits |= DECNEG; bits 10674 src/dps8/dps8_eis.c op1->bits |= DECNEG; bits 10682 src/dps8/dps8_eis.c op2->bits |= DECNEG; bits 11005 src/dps8/dps8_eis.c op1->bits |= DECNEG; bits 11013 src/dps8/dps8_eis.c op2->bits |= DECNEG; bits 11346 src/dps8/dps8_eis.c op1->bits |= DECNEG; bits 11354 src/dps8/dps8_eis.c op2->bits |= DECNEG; bits 11662 src/dps8/dps8_eis.c op1->bits |= DECNEG; bits 11670 src/dps8/dps8_eis.c op2->bits |= DECNEG; bits 11964 src/dps8/dps8_eis.c op1->bits |= DECNEG; bits 11972 src/dps8/dps8_eis.c op2->bits |= DECNEG; bits 12161 src/dps8/dps8_eis.c bits 13004 src/dps8/dps8_eis.c op1->bits |= DECNEG; bits 13021 src/dps8/dps8_eis.c op2->bits |= DECNEG; bits 13430 src/dps8/dps8_eis.c op1->bits |= DECNEG; bits 13447 src/dps8/dps8_eis.c op2->bits |= DECNEG; bits 259 src/dps8/dps8_faults.c sim_printf (" subfault number %llu (%llo)\n", (unsigned long long) cpu.subFault.bits, bits 260 src/dps8/dps8_faults.c (unsigned long long)cpu.subFault.bits); bits 356 src/dps8/dps8_faults.c const _fault_subtype fst_zero = (_fault_subtype) {.bits=0}; bits 385 src/dps8/dps8_faults.c sim_printf (" ACV %012llo PSR:IC %05o:%06o\r\n", subFault.bits, cpu.PPR.PSR, cpu.PPR.IC); bits 396 src/dps8/dps8_faults.c faultNumber, faultNumber, subFault.bits, subFault.bits, bits 425 src/dps8/dps8_faults.c faultNumber, (unsigned long long)subFault.bits, bits 460 src/dps8/dps8_faults.c cpu . faultRegister [0] |= subFault.bits; bits 677 src/dps8/dps8_faults.c cpu.subFault.bits = 0; // XXX ??? bits 823 src/dps8/dps8_faults.c cpu.subFault.bits = 0; // XXX ??? bits 901 src/dps8/dps8_faults.c cpuNo, faultNo, faultNo, subFault.bits, subFault.bits); bits 998 src/dps8/dps8_faults.c doFault (FAULT_TRB, (_fault_subtype) {.bits=cpu.g7Faults}, "Dazed and confused in doG7Fault"); bits 94 src/dps8/dps8_faults.h # define fst_zero (_fault_subtype) {.bits=0} bits 830 src/dps8/dps8_hw_consts.h word36 bits; bits 10002 src/dps8/dps8_ins.c (_fault_subtype) {.bits=fi_addr}, bits 2348 src/dps8/dps8_scu.c bits 1765 src/dps8/dps8_utils.c static word36 extrASCII36 (uint8 * bits, uint woffset) bits 1767 src/dps8/dps8_utils.c uint8 * p = bits + woffset * 4; bits 1787 src/dps8/dps8_utils.c word36 extr36 (uint8 * bits, uint woffset) bits 1791 src/dps8/dps8_utils.c uint8 * p = bits + dwoffset * 9; bits 1814 src/dps8/dps8_utils.c static void putASCII36 (word36 val, uint8 * bits, uint woffset) bits 1816 src/dps8/dps8_utils.c uint8 * p = bits + woffset * 4; bits 1823 src/dps8/dps8_utils.c void put36 (word36 val, uint8 * bits, uint woffset) bits 1827 src/dps8/dps8_utils.c uint8 * p = bits + dwoffset * 9; bits 881 src/dps8/dps8_utils.h word36 extr36 (uint8 * bits, uint woffset); bits 882 src/dps8/dps8_utils.h void put36 (word36 val, uint8 * bits, uint woffset); bits 388 src/dps8/hdbg.c (unsigned long long int)p->fault.subFault.bits, bits 389 src/dps8/hdbg.c (unsigned long long int)p->fault.subFault.bits,