Lines Matching refs:stride

145    PhysRegInterval& operator+=(uint32_t stride)
147 lo_ = PhysReg{lo_.reg() + stride};
174 /* Gets the stride for full (non-subdword) registers */
205 uint8_t stride;
211 stride = get_stride(rc);
216 /* stride in bytes */
217 stride = get_subdword_operand_stride(ctx.program->gfx_level, instr, operand, rc);
220 stride = info.first;
227 stride = align(stride, info.second);
229 stride = DIV_ROUND_UP(stride, 4);
231 assert(stride > 0);
622 unsigned stride = 4u;
625 stride = 2u;
627 return std::make_pair(stride, bytes_written);
875 uint32_t stride = info.rc.is_subdword() ? DIV_ROUND_UP(info.stride, 4) : info.stride;
880 for (unsigned new_stride = 16; new_stride > stride; new_stride /= 2) {
883 new_info.stride = new_stride;
892 if (stride == 1) {
934 /* find best position within gap by leaving a good stride for other variables*/
948 reg_win += stride) {
969 for (unsigned i = 0; i < 4; i += info.stride) {
1101 * also use the correct stride for sub-dword operands */
1125 unsigned lo = (def_reg.hi() + info.stride - 1) & ~(info.stride - 1);
1149 unsigned stride = var.rc.is_subdword() ? 1 : info.stride;
1151 reg_win += stride) {
1242 uint32_t stride = info.stride;
1279 reg_win += stride) {
1476 unsigned a_stride = a.info.stride * (a.info.rc.is_subdword() ? 1 : 4);
1477 unsigned b_stride = b.info.stride * (b.info.rc.is_subdword() ? 1 : 4);
1491 unsigned stride = var.info.rc.is_subdword() ? var.info.stride : var.info.stride * 4;
1492 next_reg.reg_b = align(next_reg.reg_b, MAX2(stride, 4));
1722 uint32_t stride = get_stride(rc);
1755 if (!bounds.contains(reg_win) || reg_win.lo() % stride != 0)
1933 unsigned stride = get_subdword_operand_stride(gfx_level, instr, idx, rc);
1934 if (reg.byte() % stride)
1979 /* clear the operand in case it's only a stride mismatch */