Home | History | Annotate | Download | only in r600

Lines Matching refs:chan

607 	unsigned i, chan, trans;
614 chan = alu->dst.chan;
621 else if (assignment[chan])
633 if (assignment[chan]) {
634 assert(0); /* ALU.chan has already been allocated. */
637 assignment[chan] = alu;
681 static int reserve_gpr(struct alu_bank_swizzle *bs, unsigned sel, unsigned chan, unsigned cycle)
683 if (bs->hw_gpr[cycle][chan] == -1)
684 bs->hw_gpr[cycle][chan] = sel;
685 else if (bs->hw_gpr[cycle][chan] != (int)sel) {
692 static int reserve_cfile(struct r600_bytecode *bc, struct alu_bank_swizzle *bs, unsigned sel, unsigned chan)
697 chan /= 2;
702 bs->hw_cfile_elem[res] = chan;
705 bs->hw_cfile_elem[res] == chan)
742 elem = alu->src[src].chan;
745 if (src == 1 && sel == alu->src[0].sel && elem == alu->src[0].chan)
772 elem = alu->src[src].chan;
789 elem = alu->src[src].chan;
897 int gpr[5], chan[5];
910 chan[i] = 0;
912 chan[i] = prev[i]->dst.chan;
929 alu->src[src].chan == chan[4] &&
932 alu->src[src].chan = 0;
939 alu->src[src].chan == j &&
942 alu->src[src].chan = chan[j];
1023 alu->src[i].chan = j;
1113 slots[i]->dst.chan == prev[4]->dst.chan &&
1153 if (prev[j]->dst.chan == alu->src[src].chan &&
1365 alu.src[0].chan = i;
1366 alu.dst.chan = i;
1770 S_SQ_ALU_WORD0_SRC0_CHAN(alu->src[0].chan) |
1774 S_SQ_ALU_WORD0_SRC1_CHAN(alu->src[1].chan) |
1782 S_SQ_ALU_WORD1_DST_CHAN(alu->dst.chan) |
1787 S_SQ_ALU_WORD1_OP3_SRC2_CHAN(alu->src[2].chan) |
1793 S_SQ_ALU_WORD1_DST_CHAN(alu->dst.chan) |
2489 fprintf(stderr, "CHAN:%d ", alu->src[0].chan);
2493 fprintf(stderr, "CHAN:%d ", alu->src[1].chan);
2502 fprintf(stderr, "CHAN:%d ", alu->dst.chan);
2509 fprintf(stderr, "CHAN:%d ", alu->src[2].chan);
2774 alu.src[0].chan = 3;
2778 alu.dst.chan = j;
2791 alu.src[0].chan = 3;
2795 alu.dst.chan = 3;