Lines Matching refs:lane

156     get(Wavefront *w, int lane)
168 read<uint32_t>(vgprIdx, lane)) & 0xff;
173 read<uint32_t>(vgprIdx, lane)) & 0xffff;
178 read<OperandType>(vgprIdx, lane);
190 getTarget(Wavefront *w, int lane)
192 return get<uint32_t>(w, lane);
196 void set(Wavefront *w, int lane, OperandType &val);
202 SRegOperand::set(Wavefront *w, int lane, OperandType &val)
204 DPRINTF(GPUReg, "CU%d, WF[%d][%d], lane %d: $s%d <- %d\n",
205 w->computeUnit->cu_id, w->simdId, w->wfSlotId, lane, regIdx, val);
210 w->computeUnit->vrf[w->simdId]->write<OperandType>(vgprIdx,val,lane);
215 SRegOperand::set(Wavefront *w, int lane, uint64_t &val)
217 DPRINTF(GPUReg, "CU%d, WF[%d][%d], lane %d: $s%d <- %d\n",
218 w->computeUnit->cu_id, w->simdId, w->wfSlotId, lane, regIdx, val);
222 w->computeUnit->vrf[w->simdId]->write<uint32_t>(vgprIdx, val, lane);
261 get(Wavefront *w, int lane)
268 return w->computeUnit->vrf[w->simdId]->read<OperandType>(vgprIdx,lane);
273 set(Wavefront *w, int lane, OperandType &val)
275 DPRINTF(GPUReg, "CU%d, WF[%d][%d], lane %d: $d%d <- %d\n",
276 w->computeUnit->cu_id, w->simdId, w->wfSlotId, lane, regIdx,
283 w->computeUnit->vrf[w->simdId]->write<OperandType>(vgprIdx,val,lane);
325 get(Wavefront *w, int lane)
329 return w->condRegState->read<OperandType>((int)regIdx, lane);
334 set(Wavefront *w, int lane, OperandType &val)
336 DPRINTF(GPUReg, "CU%d, WF[%d][%d], lane %d: $c%d <- %d\n",
337 w->computeUnit->cu_id, w->simdId, w->wfSlotId, lane, regIdx,
341 w->condRegState->write<OperandType>(regIdx,lane,val);
378 // This version of get() takes a WF* and a lane id for
382 get(Wavefront *w, int lane)
474 get(Wavefront *w, int lane)
477 reg_op.template get<OperandType>(w, lane);
592 virtual uint64_t calcLane(Wavefront *w, int lane=0) = 0;
607 uint64_t calcLane(Wavefront *w, int lane=0);
676 for (int lane = 0; lane < w->computeUnit->wfSize(); ++lane) {
677 if (w->execMask(lane)) {
679 addrVec[lane] = address + reg.template get<uint32_t>(w, lane);
681 addrVec[lane] = address + reg.template get<Addr>(w, lane);
689 RegAddrOperand<RegOperandType>::calcLane(Wavefront *w, int lane)
693 return address + reg.template get<Addr>(w, lane);
712 uint64_t calcLane(Wavefront *w, int lane=0);
723 NoRegAddrOperand::calcLane(Wavefront *w, int lane)
733 for (int lane = 0; lane < w->computeUnit->wfSize(); ++lane)
734 addrVec[lane] = address;
746 uint32_t getTarget(Wavefront *w, int lane);
771 get(Wavefront *w, int lane, int arg_idx)
773 return w->readCallArgMem<OperandType>(lane, getSrcOperand(arg_idx));
778 set(Wavefront *w, int lane, OperandType val)
780 w->writeCallArgMem<OperandType>(lane, getSrcOperand(0), val);
781 DPRINTF(GPUReg, "CU%d, WF[%d][%d], lane %d: arg[%d] <- %d\n",
782 w->computeUnit->cu_id, w->simdId, w->wfSlotId, lane,