Home | History | Annotate | Download | only in r600

Lines Matching refs:alu

36 int r700_bytecode_alu_build(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, unsigned id)
38 bc->bytecode[id++] = S_SQ_ALU_WORD0_SRC0_SEL(alu->src[0].sel) |
39 S_SQ_ALU_WORD0_SRC0_REL(alu->src[0].rel) |
40 S_SQ_ALU_WORD0_SRC0_CHAN(alu->src[0].chan) |
41 S_SQ_ALU_WORD0_SRC0_NEG(alu->src[0].neg) |
42 S_SQ_ALU_WORD0_SRC1_SEL(alu->src[1].sel) |
43 S_SQ_ALU_WORD0_SRC1_REL(alu->src[1].rel) |
44 S_SQ_ALU_WORD0_SRC1_CHAN(alu->src[1].chan) |
45 S_SQ_ALU_WORD0_SRC1_NEG(alu->src[1].neg) |
46 S_SQ_ALU_WORD0_PRED_SEL(alu->pred_sel) |
47 S_SQ_ALU_WORD0_LAST(alu->last);
50 if (alu->is_op3) {
51 bc->bytecode[id++] = S_SQ_ALU_WORD1_DST_GPR(alu->dst.sel) |
52 S_SQ_ALU_WORD1_DST_CHAN(alu->dst.chan) |
53 S_SQ_ALU_WORD1_DST_REL(alu->dst.rel) |
54 S_SQ_ALU_WORD1_CLAMP(alu->dst.clamp) |
55 S_SQ_ALU_WORD1_OP3_SRC2_SEL(alu->src[2].sel) |
56 S_SQ_ALU_WORD1_OP3_SRC2_REL(alu->src[2].rel) |
57 S_SQ_ALU_WORD1_OP3_SRC2_CHAN(alu->src[2].chan) |
58 S_SQ_ALU_WORD1_OP3_SRC2_NEG(alu->src[2].neg) |
59 S_SQ_ALU_WORD1_OP3_ALU_INST(alu->inst) |
60 S_SQ_ALU_WORD1_BANK_SWIZZLE(alu->bank_swizzle);
62 bc->bytecode[id++] = S_SQ_ALU_WORD1_DST_GPR(alu->dst.sel) |
63 S_SQ_ALU_WORD1_DST_CHAN(alu->dst.chan) |
64 S_SQ_ALU_WORD1_DST_REL(alu->dst.rel) |
65 S_SQ_ALU_WORD1_CLAMP(alu->dst.clamp) |
66 S_SQ_ALU_WORD1_OP2_SRC0_ABS(alu->src[0].abs) |
67 S_SQ_ALU_WORD1_OP2_SRC1_ABS(alu->src[1].abs) |
68 S_SQ_ALU_WORD1_OP2_WRITE_MASK(alu->dst.write) |
69 S_SQ_ALU_WORD1_OP2_OMOD(alu->omod) |
70 S_SQ_ALU_WORD1_OP2_ALU_INST(alu->inst) |
71 S_SQ_ALU_WORD1_BANK_SWIZZLE(alu->bank_swizzle) |
72 S_SQ_ALU_WORD1_OP2_UPDATE_EXECUTE_MASK(alu->execute_mask) |
73 S_SQ_ALU_WORD1_OP2_UPDATE_PRED(alu->update_pred);