There is a dedicated register named ar.lc for counted loops. The br.cloop instruction acts like this: Consider this loop to increment every 32-bit integer in an array. This could be compiled as Note that the ar.lc register is initialized to one fewer than the number of iterations desired. That's because it counts the number of times the br....