Lines Matching refs:Res

414   RegisterCell Res(W);  in eIMM()  local
417 Res[i] = BitValue(V & 1); in eIMM()
420 return Res; in eIMM()
428 RegisterCell Res(BW); in eIMM() local
430 Res[i] = A[i]; in eIMM()
431 return Res; in eIMM()
439 RegisterCell Res(W); in eADD() local
448 Res[I] = BitValue(S & 1); in eADD()
457 Res[I] = BitValue::ref(V2); in eADD()
459 Res[I] = BitValue::ref(V1); in eADD()
464 Res[I] = BitValue::self(); in eADD()
465 return Res; in eADD()
473 RegisterCell Res(W); in eSUB() local
482 Res[I] = BitValue(S & 1); in eSUB()
489 Res[I] = BitValue::ref(V2); in eSUB()
493 Res[I] = BitValue::ref(V1); in eSUB()
498 Res[I] = BitValue::self(); in eSUB()
499 return Res; in eSUB()
507 RegisterCell Res(W); in eMLS() local
508 Res.fill(0, Z, BitValue::Zero); in eMLS()
509 Res.fill(Z, W, BitValue::self()); in eMLS()
510 return Res; in eMLS()
518 RegisterCell Res(W); in eMLU() local
519 Res.fill(0, Z, BitValue::Zero); in eMLU()
520 Res.fill(Z, W, BitValue::self()); in eMLU()
521 return Res; in eMLU()
528 RegisterCell Res = RegisterCell::ref(A1); in eASL() local
529 Res.rol(Sh); in eASL()
530 Res.fill(0, Sh, BitValue::Zero); in eASL()
531 return Res; in eASL()
539 RegisterCell Res = RegisterCell::ref(A1); in eLSR() local
540 Res.rol(W-Sh); in eLSR()
541 Res.fill(W-Sh, W, BitValue::Zero); in eLSR()
542 return Res; in eLSR()
550 RegisterCell Res = RegisterCell::ref(A1); in eASR() local
551 BitValue Sign = Res[W-1]; in eASR()
552 Res.rol(W-Sh); in eASR()
553 Res.fill(W-Sh, W, Sign); in eASR()
554 return Res; in eASR()
562 RegisterCell Res(W); in eAND() local
567 Res[i] = BitValue::ref(V2); in eAND()
569 Res[i] = BitValue::ref(V1); in eAND()
571 Res[i] = BitValue::Zero; in eAND()
573 Res[i] = V1; in eAND()
575 Res[i] = BitValue::self(); in eAND()
577 return Res; in eAND()
585 RegisterCell Res(W); in eORL() local
590 Res[i] = BitValue::One; in eORL()
592 Res[i] = BitValue::ref(V2); in eORL()
594 Res[i] = BitValue::ref(V1); in eORL()
596 Res[i] = V1; in eORL()
598 Res[i] = BitValue::self(); in eORL()
600 return Res; in eORL()
608 RegisterCell Res(W); in eXOR() local
613 Res[i] = BitValue::ref(V2); in eXOR()
615 Res[i] = BitValue::ref(V1); in eXOR()
617 Res[i] = BitValue::Zero; in eXOR()
619 Res[i] = BitValue::self(); in eXOR()
621 return Res; in eXOR()
627 RegisterCell Res(W); in eNOT() local
631 Res[i] = BitValue::One; in eNOT()
633 Res[i] = BitValue::Zero; in eNOT()
635 Res[i] = BitValue::self(); in eNOT()
637 return Res; in eNOT()
644 RegisterCell Res = RegisterCell::ref(A1); in eSET() local
645 Res[BitN] = BitValue::One; in eSET()
646 return Res; in eSET()
653 RegisterCell Res = RegisterCell::ref(A1); in eCLR() local
654 Res[BitN] = BitValue::Zero; in eCLR()
655 return Res; in eCLR()
685 RegisterCell Res = RegisterCell::ref(A1); in eSXT() local
686 BitValue Sign = Res[FromN-1]; in eSXT()
688 Res.fill(FromN, W, Sign); in eSXT()
689 return Res; in eSXT()
697 RegisterCell Res = RegisterCell::ref(A1); in eZXT() local
698 Res.fill(FromN, W, BitValue::Zero); in eZXT()
699 return Res; in eZXT()
710 RegisterCell Res = RegisterCell::ref(A1).extract(BT::BitMask(B, Last)); in eXTR() local
712 return Res; in eXTR()
722 RegisterCell Res = RegisterCell::ref(A1); in eINS() local
724 Res.insert(RegisterCell::ref(A2), BT::BitMask(AtN, AtN+W2-1)); in eINS()
725 return Res; in eINS()
751 RegisterCell Res(W); in evaluate() local
752 Res.insert(RegisterCell::ref(getCell(RS, Inputs)), mask(RD.Reg, SS)); in evaluate()
753 Res.insert(RegisterCell::ref(getCell(RT, Inputs)), mask(RD.Reg, ST)); in evaluate()
754 putCell(RD, Res, Outputs); in evaluate()
768 RegisterCell Res(WD); in evaluate() local
769 Res.insert(Src, BitMask(0, WS-1)); in evaluate()
770 Res.fill(WS, WD, BitValue::Zero); in evaluate()
771 putCell(RD, Res, Outputs); in evaluate()