Lines Matching refs:nalu
1176 struct r600_bytecode_alu *nalu = r600_bytecode_alu(); in r600_bytecode_add_alu_type() local
1180 if (!nalu) in r600_bytecode_add_alu_type()
1182 memcpy(nalu, alu, sizeof(struct r600_bytecode_alu)); in r600_bytecode_add_alu_type()
1207 free(nalu); in r600_bytecode_add_alu_type()
1216 if (nalu->src[i].kc_bank && nalu->src[i].kc_rel) in r600_bytecode_add_alu_type()
1222 if (nalu->src[i].rel && !bc->ar_loaded) in r600_bytecode_add_alu_type()
1225 if (nalu->dst.rel && !bc->ar_loaded) in r600_bytecode_add_alu_type()
1230 if ((r = r600_bytecode_alloc_kcache_lines(bc, nalu, type))) { in r600_bytecode_add_alu_type()
1231 free(nalu); in r600_bytecode_add_alu_type()
1236 bc->cf_last->curr_bs_head = nalu; in r600_bytecode_add_alu_type()
1240 if (nalu->src[i].sel >= bc->ngpr && nalu->src[i].sel < 128) { in r600_bytecode_add_alu_type()
1241 bc->ngpr = nalu->src[i].sel + 1; in r600_bytecode_add_alu_type()
1243 if (nalu->src[i].sel == V_SQ_ALU_SRC_LITERAL) in r600_bytecode_add_alu_type()
1244 r600_bytecode_special_constants(nalu->src[i].value, in r600_bytecode_add_alu_type()
1245 &nalu->src[i].sel, &nalu->src[i].neg, nalu->src[i].abs); in r600_bytecode_add_alu_type()
1247 if (nalu->dst.sel >= bc->ngpr) { in r600_bytecode_add_alu_type()
1248 bc->ngpr = nalu->dst.sel + 1; in r600_bytecode_add_alu_type()
1250 LIST_ADDTAIL(&nalu->list, &bc->cf_last->alu); in r600_bytecode_add_alu_type()
1256 if (nalu->last) { in r600_bytecode_add_alu_type()
1301 if (nalu->dst.rel && bc->r6xx_nop_after_rel_dst) in r600_bytecode_add_alu_type()