Lines Matching defs:ctr
488 struct ureg_dst rL[NINE_MAX_LOOP_DEPTH]; /* loop ctr */
936 /* loop or rep ctr creation */
1791 struct ureg_dst ctr;
1796 ctr = tx_get_loopctr(tx, TRUE);
1797 ctrx = ureg_scalar(ureg_src(ctr), TGSI_SWIZZLE_X);
1800 ureg_MOV(ureg, ctr, src);
1803 /* Initially ctr.x contains the number of iterations.
1804 * ctr.y will contain the updated value of al.
1805 * We decrease ctr.x at the end of every iteration,
1809 /* case src and ctr contain floats */
1810 /* to avoid precision issue, we stop when ctr <= 0.5 */
1814 /* case src and ctr contain integers */
1839 struct ureg_dst ctr = tx_get_loopctr(tx, TRUE);
1843 dst_ctrx = ureg_writemask(ctr, NINED3DSP_WRITEMASK_0);
1844 dst_al = ureg_writemask(ctr, NINED3DSP_WRITEMASK_1);
1845 src_ctr = ureg_src(ctr);
1848 /* ctr.x -= 1
1849 * ctr.y (aL) += step */
1909 struct ureg_dst ctr;
1914 ctr = ureg_writemask(tx_get_loopctr(tx, FALSE), NINED3DSP_WRITEMASK_0);
1915 ctrx = ureg_scalar(ureg_src(ctr), TGSI_SWIZZLE_X);
1921 ureg_MOV(ureg, ctr, rep);
1924 /* Initially ctr.x contains the number of iterations.
1925 * We decrease ctr.x at the end of every iteration,
1929 /* case src and ctr contain floats */
1930 /* to avoid precision issue, we stop when ctr <= 0.5 */
1934 /* case src and ctr contain integers */
1948 struct ureg_dst ctr = tx_get_loopctr(tx, FALSE);
1949 struct ureg_dst dst_ctrx = ureg_writemask(ctr, NINED3DSP_WRITEMASK_0);
1950 struct ureg_src src_ctr = ureg_src(ctr);
1952 /* ctr.x -= 1 */