Lines Matching refs:Sh
241 BT::RegisterCell &BT::RegisterCell::rol(uint16_t Sh) { in rol() argument
245 Sh = Sh % W; in rol()
246 if (Sh == 0) in rol()
249 RegisterCell Tmp(W-Sh); in rol()
251 for (uint16_t i = 0; i < W-Sh; ++i) in rol()
254 for (uint16_t i = 0; i < Sh; ++i) in rol()
255 Bits[i] = Bits[W-Sh+i]; in rol()
257 for (uint16_t i = 0; i < W-Sh; ++i) in rol()
258 Bits[i+Sh] = Tmp.Bits[i]; in rol()
526 uint16_t Sh) const { in eASL()
527 assert(Sh <= A1.width()); in eASL()
529 Res.rol(Sh); in eASL()
530 Res.fill(0, Sh, BitValue::Zero); in eASL()
536 uint16_t Sh) const { in eLSR()
538 assert(Sh <= W); in eLSR()
540 Res.rol(W-Sh); in eLSR()
541 Res.fill(W-Sh, W, BitValue::Zero); in eLSR()
547 uint16_t Sh) const { in eASR()
549 assert(Sh <= W); in eASR()
552 Res.rol(W-Sh); in eASR()
553 Res.fill(W-Sh, W, Sign); in eASR()