Lines Matching defs:delay
33 /* The soft delay for approximating the cost of (ss). On a6xx, it takes the
34 * number of delay slots to get a SFU result back (ie. using nop's instead of
47 * Helpers to figure out the necessary delay slots between instructions. Used
55 /* calculate required # of delay slots between the instruction that
86 /* As far as we know, shader outputs don't need any delay. */
145 unsigned delay = 0;
158 delay = MAX2(delay, d);
161 delay = ir3_delayslots(assigner, consumer, srcn, false);
162 delay -= distance(block, assigner, delay);
165 return delay;
169 * Calculate delay for instruction before register allocation, using SSA
175 unsigned delay = 0;
184 delay = MAX2(delay, d);
187 return delay;
235 unsigned delay = ir3_delayslots(assigner, consumer, consumer_n, soft);
238 return delay;
245 return delay;
251 return delay;
258 return delay;
285 /* The delay we return is relative to the *end* of assigner and the
288 * subtract from the delay, and so do any instructions before
290 * delay to account for that.
302 return offset > delay ? 0 : delay - offset;
310 unsigned delay = 0;
321 if (distance + delay >= (soft ? SOFT_SS_NOPS : MAX_NOPS))
322 return delay;
343 delay = MAX2(delay, new_delay);
370 delay = MAX2(delay, pred_delay);
376 return delay;
380 * Calculate delay for post-RA scheduling based on physical registers but not
384 * @soft: If true, add additional delay for situations where they
398 * Calculate delay for nop insertion. This must exactly match hardware