Lines Matching refs:as

6  * not be construed as granting a license to any other intellectual
52 * constant, it is defined as a template parameter.
59 * calculated as sizeof(VecElem) * NumElems must match the size of the
62 * references to particular bytes understood as a VecElem.
72 * member 'as' for VecRegT and the member 'laneView' for VecLaneT. Kindly
84 * // Request source vector register to the execution context (const as it
87 * // View it as a vector of floats (we could just specify the first
90 * VecRegT<float, 8, true>& vsrc1 = vsrc1raw->as<float, 8>();
94 * VecRegT<float, 8, true>& vsrc2 = vsrc2raw->as<float, 8>();
98 * VecRegT<float, 8, false>& vdst = vdstraw->as<float, 8>();
109 * // Request source vector register to the execution context (const as it
112 * // View it as a lane of a vector of floats (we could just specify the
129 * // There is no need to copy the value back into the exec context, as
166 * of VecRegT to view the container as a vector of NumElems elems of type
268 * portion through the method 'as
374 * Create a view of this container as a vector of VecElems with an
384 VecRegT<VecElem, NumElems, true> as() const
389 "Viewing VecReg as something bigger than it is");
394 VecRegT<VecElem, NumElems, false> as()
399 "Viewing VecReg as something bigger than it is");
426 * about the semantics of a, e.g., 32bit element, treating it as a signed or
443 * it is up to the ISA to interpret those bits as a float, or as an uint.
448 * When data is passed and is susceptible to being copied, use LaneData, as
450 * When data is passed as references (const or not), use RegLaneT, as all
590 /** View as the Nth lane of type VecElem. */
596 return VecLaneT<VecElem, false>(as<VecElem>()[LaneIdx]);
599 /** View as the const Nth lane of type VecElem. */
605 return VecLaneT<VecElem, true>(as<VecElem>()[LaneIdx]);
608 /** View as the Nth lane of type VecElem. */
614 return VecLaneT<VecElem, false>(as<VecElem>()[laneIdx]);
617 /** View as the const Nth lane of type VecElem. */
623 return VecLaneT<VecElem, true>(as<VecElem>()[laneIdx]);