Lines Matching refs:nalu
1263 struct r600_bytecode_alu *nalu = r600_bytecode_alu(); in r600_bytecode_add_alu_type() local
1267 if (!nalu) in r600_bytecode_add_alu_type()
1269 memcpy(nalu, alu, sizeof(struct r600_bytecode_alu)); in r600_bytecode_add_alu_type()
1297 free(nalu); in r600_bytecode_add_alu_type()
1306 if (nalu->src[i].kc_bank && nalu->src[i].kc_rel) in r600_bytecode_add_alu_type()
1312 if (nalu->src[i].rel && !bc->ar_loaded) in r600_bytecode_add_alu_type()
1315 if (nalu->dst.rel && !bc->ar_loaded) in r600_bytecode_add_alu_type()
1320 if ((r = r600_bytecode_alloc_kcache_lines(bc, nalu, type))) { in r600_bytecode_add_alu_type()
1321 free(nalu); in r600_bytecode_add_alu_type()
1326 bc->cf_last->curr_bs_head = nalu; in r600_bytecode_add_alu_type()
1330 if (nalu->src[i].sel >= bc->ngpr && nalu->src[i].sel < 128) { in r600_bytecode_add_alu_type()
1331 bc->ngpr = nalu->src[i].sel + 1; in r600_bytecode_add_alu_type()
1333 if (nalu->src[i].sel == V_SQ_ALU_SRC_LITERAL) in r600_bytecode_add_alu_type()
1334 r600_bytecode_special_constants(nalu->src[i].value, in r600_bytecode_add_alu_type()
1335 &nalu->src[i].sel); in r600_bytecode_add_alu_type()
1337 if (nalu->dst.write && nalu->dst.sel >= bc->ngpr) { in r600_bytecode_add_alu_type()
1338 bc->ngpr = nalu->dst.sel + 1; in r600_bytecode_add_alu_type()
1340 list_addtail(&nalu->list, &bc->cf_last->alu); in r600_bytecode_add_alu_type()
1346 if (nalu->last) { in r600_bytecode_add_alu_type()
1407 if (nalu->last && bc->n_pending_outputs) { in r600_bytecode_add_alu_type()