Lines Matching refs:nalu
1195 struct r600_bytecode_alu *nalu = r600_bytecode_alu(); in r600_bytecode_add_alu_type() local
1199 if (!nalu) in r600_bytecode_add_alu_type()
1201 memcpy(nalu, alu, sizeof(struct r600_bytecode_alu)); in r600_bytecode_add_alu_type()
1226 free(nalu); in r600_bytecode_add_alu_type()
1235 if (nalu->src[i].kc_bank && nalu->src[i].kc_rel) in r600_bytecode_add_alu_type()
1241 if (nalu->src[i].rel && !bc->ar_loaded) in r600_bytecode_add_alu_type()
1244 if (nalu->dst.rel && !bc->ar_loaded) in r600_bytecode_add_alu_type()
1249 if ((r = r600_bytecode_alloc_kcache_lines(bc, nalu, type))) { in r600_bytecode_add_alu_type()
1250 free(nalu); in r600_bytecode_add_alu_type()
1255 bc->cf_last->curr_bs_head = nalu; in r600_bytecode_add_alu_type()
1259 if (nalu->src[i].sel >= bc->ngpr && nalu->src[i].sel < 128) { in r600_bytecode_add_alu_type()
1260 bc->ngpr = nalu->src[i].sel + 1; in r600_bytecode_add_alu_type()
1262 if (nalu->src[i].sel == V_SQ_ALU_SRC_LITERAL) in r600_bytecode_add_alu_type()
1263 r600_bytecode_special_constants(nalu->src[i].value, in r600_bytecode_add_alu_type()
1264 &nalu->src[i].sel, &nalu->src[i].neg, nalu->src[i].abs); in r600_bytecode_add_alu_type()
1266 if (nalu->dst.sel >= bc->ngpr) { in r600_bytecode_add_alu_type()
1267 bc->ngpr = nalu->dst.sel + 1; in r600_bytecode_add_alu_type()
1269 list_addtail(&nalu->list, &bc->cf_last->alu); in r600_bytecode_add_alu_type()
1275 if (nalu->last) { in r600_bytecode_add_alu_type()
1320 if (nalu->dst.rel && bc->r6xx_nop_after_rel_dst) in r600_bytecode_add_alu_type()
1324 if (nalu->last && bc->n_pending_outputs) { in r600_bytecode_add_alu_type()