Lines Matching refs:bc
37 int r700_bytecode_alu_build(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, unsigned id)
39 bc->bytecode[id++] = S_SQ_ALU_WORD0_SRC0_SEL(alu->src[0].sel) |
53 bc->bytecode[id++] = S_SQ_ALU_WORD1_DST_GPR(alu->dst.sel) |
61 S_SQ_ALU_WORD1_OP3_ALU_INST(r600_isa_alu_opcode(bc->isa->hw_class, alu->op)) |
64 bc->bytecode[id++] = S_SQ_ALU_WORD1_DST_GPR(alu->dst.sel) |
72 S_SQ_ALU_WORD1_OP2_ALU_INST(r600_isa_alu_opcode(bc->isa->hw_class, alu->op)) |
80 void r700_bytecode_alu_read(struct r600_bytecode *bc,
111 alu->op = r600_isa_alu_by_opcode(bc->isa,
118 alu->op = r600_isa_alu_by_opcode(bc->isa,
128 int r700_bytecode_fetch_mem_build(struct r600_bytecode *bc, struct r600_bytecode_vtx *mem, unsigned id)
130 unsigned opcode = r600_isa_fetch_opcode(bc->isa->hw_class, mem->op) >> 8;
132 bc->bytecode[id++] = S_SQ_MEM_RD_WORD0_MEM_INST(2) |
146 bc->bytecode[id++] = S_SQ_MEM_RD_WORD1_DST_GPR(mem->dst_gpr) |
157 bc->bytecode[id++] = S_SQ_MEM_RD_WORD2_ARRAY_BASE(mem->array_base) |
162 bc->bytecode[id++] = 0; /* MEM ops are 4 word aligned */