Searched refs:alu (Results 1 - 20 of 20) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/
H A Dr700_asm.c36 int r700_bytecode_alu_build(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, unsigned id) argument
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
[all...]
H A Dr600_shader.c273 unsigned bytes_read, struct r600_bytecode_alu * alu, unsigned src_idx)
279 alu->src[src_idx].sel = sel0 | (sel1 << 8);
280 alu->src[src_idx].chan = bytes[bytes_read++];
281 alu->src[src_idx].neg = bytes[bytes_read++];
282 alu->src[src_idx].abs = bytes[bytes_read++];
283 alu->src[src_idx].rel = bytes[bytes_read++];
284 alu->src[src_idx].kc_bank = bytes[bytes_read++];
286 alu->src[src_idx].value |= bytes[bytes_read++] << (i * 8);
297 struct r600_bytecode_alu alu; local
298 memset(&alu,
272 r600_src_from_byte_stream(unsigned char * bytes, unsigned bytes_read, struct r600_bytecode_alu * alu, unsigned src_idx) argument
350 llvm_if(struct r600_shader_ctx *ctx, struct r600_bytecode_alu * alu, unsigned pred_inst) argument
358 r600_break_from_byte_stream(struct r600_shader_ctx *ctx, struct r600_bytecode_alu *alu, unsigned compare_opcode) argument
376 struct r600_bytecode_alu alu; local
597 struct r600_bytecode_alu alu; local
655 struct r600_bytecode_alu alu; local
761 struct r600_bytecode_alu alu; local
860 struct r600_bytecode_alu alu; local
992 struct r600_bytecode_alu alu; local
1038 struct r600_bytecode_alu alu; local
1089 struct r600_bytecode_alu alu; local
1345 struct r600_bytecode_alu alu; local
1359 struct r600_bytecode_alu alu; local
1444 struct r600_bytecode_alu alu; local
1782 struct r600_bytecode_alu alu; local
1841 struct r600_bytecode_alu alu; local
1873 struct r600_bytecode_alu alu; local
1903 struct r600_bytecode_alu alu; local
1939 struct r600_bytecode_alu alu; local
2010 struct r600_bytecode_alu alu; local
2041 struct r600_bytecode_alu alu; local
2084 struct r600_bytecode_alu alu; local
2204 struct r600_bytecode_alu alu; local
2238 struct r600_bytecode_alu alu; local
2388 struct r600_bytecode_alu alu; local
2416 struct r600_bytecode_alu alu; local
2438 struct r600_bytecode_alu alu; local
2460 struct r600_bytecode_alu alu; local
2508 struct r600_bytecode_alu alu; local
2548 struct r600_bytecode_alu alu; local
3413 struct r600_bytecode_alu alu; local
3462 struct r600_bytecode_alu alu; local
3518 struct r600_bytecode_alu alu; local
3581 struct r600_bytecode_alu alu; local
3632 struct r600_bytecode_alu alu; local
3659 struct r600_bytecode_alu alu; local
3690 struct r600_bytecode_alu alu; local
3759 struct r600_bytecode_alu alu; local
4166 struct r600_bytecode_alu alu; local
4265 struct r600_bytecode_alu alu; local
4296 struct r600_bytecode_alu alu; local
4366 struct r600_bytecode_alu alu; local
4495 struct r600_bytecode_alu alu; local
4755 struct r600_bytecode_alu alu; local
4789 struct r600_bytecode_alu alu; local
4848 struct r600_bytecode_alu alu; local
4879 struct r600_bytecode_alu alu; local
5183 struct r600_bytecode_alu alu; local
[all...]
H A Dr600_asm.c36 static inline unsigned int r600_bytecode_get_num_operands(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) argument
38 if(alu->is_op3)
44 switch (alu->inst) {
121 "Need instruction operand number for 0x%x.\n", alu->inst);
126 switch (alu->inst) {
204 "Need instruction operand number for 0x%x.\n", alu->inst);
212 int r700_bytecode_alu_build(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, unsigned id);
221 LIST_INITHEAD(&cf->alu);
229 struct r600_bytecode_alu *alu = CALLOC_STRUCT(r600_bytecode_alu); local
231 if (alu
342 is_alu_once_inst(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) argument
423 is_alu_reduction_inst(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) argument
444 is_alu_cube_inst(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) argument
459 is_alu_mova_inst(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) argument
493 is_alu_vec_unit_inst(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) argument
548 is_alu_trans_unit_inst(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) argument
584 is_alu_any_unit_inst(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) argument
590 is_nop_inst(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) argument
606 struct r600_bytecode_alu *alu; local
734 check_vector(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, struct alu_bank_swizzle *bs, int bank_swizzle) argument
764 check_scalar(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, struct alu_bank_swizzle *bs, int bank_swizzle) argument
918 struct r600_bytecode_alu *alu = slots[i]; local
985 r600_bytecode_alu_nliterals(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, uint32_t literal[4], unsigned *nliteral) argument
1011 r600_bytecode_alu_adjust_literals(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, uint32_t literal[4], unsigned nliteral) argument
1065 struct r600_bytecode_alu *alu; local
1263 r600_bytecode_alloc_inst_kcache_lines(struct r600_bytecode *bc, struct r600_bytecode_kcache *kcache, struct r600_bytecode_alu *alu) argument
1284 r600_bytecode_assign_kcache_banks(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, struct r600_bytecode_kcache * kcache) argument
1321 r600_bytecode_alloc_kcache_lines(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, int type) argument
1359 struct r600_bytecode_alu alu; local
1378 struct r600_bytecode_alu alu; local
1405 struct r600_bytecode_alu alu; local
1431 r600_bytecode_add_alu_type(struct r600_bytecode *bc, const struct r600_bytecode_alu *alu, int type) argument
1552 r600_bytecode_add_alu(struct r600_bytecode *bc, const struct r600_bytecode_alu *alu) argument
1765 r600_bytecode_alu_build(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, unsigned id) argument
1904 struct r600_bytecode_alu *alu; local
2205 struct r600_bytecode_alu *alu = NULL, *next_alu; local
2236 struct r600_bytecode_alu *alu = NULL; local
2770 struct r600_bytecode_alu alu; local
2787 struct r600_bytecode_alu alu; local
[all...]
H A Dr600_asm.h163 struct list_head alu; member in struct:r600_bytecode_cf
227 int r600_bytecode_add_alu(struct r600_bytecode *bc, const struct r600_bytecode_alu *alu);
233 int r600_bytecode_add_alu_type(struct r600_bytecode *bc, const struct r600_bytecode_alu *alu, int type);
243 int r700_bytecode_alu_build(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, unsigned id);
/external/mesa3d/src/gallium/drivers/r600/
H A Dr700_asm.c36 int r700_bytecode_alu_build(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, unsigned id) argument
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
[all...]
H A Dr600_shader.c273 unsigned bytes_read, struct r600_bytecode_alu * alu, unsigned src_idx)
279 alu->src[src_idx].sel = sel0 | (sel1 << 8);
280 alu->src[src_idx].chan = bytes[bytes_read++];
281 alu->src[src_idx].neg = bytes[bytes_read++];
282 alu->src[src_idx].abs = bytes[bytes_read++];
283 alu->src[src_idx].rel = bytes[bytes_read++];
284 alu->src[src_idx].kc_bank = bytes[bytes_read++];
286 alu->src[src_idx].value |= bytes[bytes_read++] << (i * 8);
297 struct r600_bytecode_alu alu; local
298 memset(&alu,
272 r600_src_from_byte_stream(unsigned char * bytes, unsigned bytes_read, struct r600_bytecode_alu * alu, unsigned src_idx) argument
350 llvm_if(struct r600_shader_ctx *ctx, struct r600_bytecode_alu * alu, unsigned pred_inst) argument
358 r600_break_from_byte_stream(struct r600_shader_ctx *ctx, struct r600_bytecode_alu *alu, unsigned compare_opcode) argument
376 struct r600_bytecode_alu alu; local
597 struct r600_bytecode_alu alu; local
655 struct r600_bytecode_alu alu; local
761 struct r600_bytecode_alu alu; local
860 struct r600_bytecode_alu alu; local
992 struct r600_bytecode_alu alu; local
1038 struct r600_bytecode_alu alu; local
1089 struct r600_bytecode_alu alu; local
1345 struct r600_bytecode_alu alu; local
1359 struct r600_bytecode_alu alu; local
1444 struct r600_bytecode_alu alu; local
1782 struct r600_bytecode_alu alu; local
1841 struct r600_bytecode_alu alu; local
1873 struct r600_bytecode_alu alu; local
1903 struct r600_bytecode_alu alu; local
1939 struct r600_bytecode_alu alu; local
2010 struct r600_bytecode_alu alu; local
2041 struct r600_bytecode_alu alu; local
2084 struct r600_bytecode_alu alu; local
2204 struct r600_bytecode_alu alu; local
2238 struct r600_bytecode_alu alu; local
2388 struct r600_bytecode_alu alu; local
2416 struct r600_bytecode_alu alu; local
2438 struct r600_bytecode_alu alu; local
2460 struct r600_bytecode_alu alu; local
2508 struct r600_bytecode_alu alu; local
2548 struct r600_bytecode_alu alu; local
3413 struct r600_bytecode_alu alu; local
3462 struct r600_bytecode_alu alu; local
3518 struct r600_bytecode_alu alu; local
3581 struct r600_bytecode_alu alu; local
3632 struct r600_bytecode_alu alu; local
3659 struct r600_bytecode_alu alu; local
3690 struct r600_bytecode_alu alu; local
3759 struct r600_bytecode_alu alu; local
4166 struct r600_bytecode_alu alu; local
4265 struct r600_bytecode_alu alu; local
4296 struct r600_bytecode_alu alu; local
4366 struct r600_bytecode_alu alu; local
4495 struct r600_bytecode_alu alu; local
4755 struct r600_bytecode_alu alu; local
4789 struct r600_bytecode_alu alu; local
4848 struct r600_bytecode_alu alu; local
4879 struct r600_bytecode_alu alu; local
5183 struct r600_bytecode_alu alu; local
[all...]
H A Dr600_asm.c36 static inline unsigned int r600_bytecode_get_num_operands(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) argument
38 if(alu->is_op3)
44 switch (alu->inst) {
121 "Need instruction operand number for 0x%x.\n", alu->inst);
126 switch (alu->inst) {
204 "Need instruction operand number for 0x%x.\n", alu->inst);
212 int r700_bytecode_alu_build(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, unsigned id);
221 LIST_INITHEAD(&cf->alu);
229 struct r600_bytecode_alu *alu = CALLOC_STRUCT(r600_bytecode_alu); local
231 if (alu
342 is_alu_once_inst(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) argument
423 is_alu_reduction_inst(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) argument
444 is_alu_cube_inst(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) argument
459 is_alu_mova_inst(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) argument
493 is_alu_vec_unit_inst(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) argument
548 is_alu_trans_unit_inst(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) argument
584 is_alu_any_unit_inst(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) argument
590 is_nop_inst(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) argument
606 struct r600_bytecode_alu *alu; local
734 check_vector(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, struct alu_bank_swizzle *bs, int bank_swizzle) argument
764 check_scalar(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, struct alu_bank_swizzle *bs, int bank_swizzle) argument
918 struct r600_bytecode_alu *alu = slots[i]; local
985 r600_bytecode_alu_nliterals(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, uint32_t literal[4], unsigned *nliteral) argument
1011 r600_bytecode_alu_adjust_literals(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, uint32_t literal[4], unsigned nliteral) argument
1065 struct r600_bytecode_alu *alu; local
1263 r600_bytecode_alloc_inst_kcache_lines(struct r600_bytecode *bc, struct r600_bytecode_kcache *kcache, struct r600_bytecode_alu *alu) argument
1284 r600_bytecode_assign_kcache_banks(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, struct r600_bytecode_kcache * kcache) argument
1321 r600_bytecode_alloc_kcache_lines(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, int type) argument
1359 struct r600_bytecode_alu alu; local
1378 struct r600_bytecode_alu alu; local
1405 struct r600_bytecode_alu alu; local
1431 r600_bytecode_add_alu_type(struct r600_bytecode *bc, const struct r600_bytecode_alu *alu, int type) argument
1552 r600_bytecode_add_alu(struct r600_bytecode *bc, const struct r600_bytecode_alu *alu) argument
1765 r600_bytecode_alu_build(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, unsigned id) argument
1904 struct r600_bytecode_alu *alu; local
2205 struct r600_bytecode_alu *alu = NULL, *next_alu; local
2236 struct r600_bytecode_alu *alu = NULL; local
2770 struct r600_bytecode_alu alu; local
2787 struct r600_bytecode_alu alu; local
[all...]
H A Dr600_asm.h163 struct list_head alu; member in struct:r600_bytecode_cf
227 int r600_bytecode_add_alu(struct r600_bytecode *bc, const struct r600_bytecode_alu *alu);
233 int r600_bytecode_add_alu_type(struct r600_bytecode *bc, const struct r600_bytecode_alu *alu, int type);
243 int r700_bytecode_alu_build(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, unsigned id);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
H A Dr300_fragprog.c136 int regc = code->alu.inst[i].rgb_addr >> (j * 6);
137 int rega = code->alu.inst[i].alpha_addr >> (j * 6);
139 code->alu.inst[i].r400_ext_addr);
141 code->alu.inst[i].r400_ext_addr);
151 (code->alu.inst[i].
153 (code->alu.inst[i].
155 (code->alu.inst[i].
160 code->alu.inst[i].r400_ext_addr);
163 ((code->alu.inst[i].
169 (code->alu
[all...]
H A Dr300_fragprog_emit.c157 if (code->alu.length >= c->Base.max_alu_insts) {
162 ip = code->alu.length++;
164 code->alu.inst[ip].rgb_inst = translate_rgb_opcode(c, inst->RGB.Opcode);
165 code->alu.inst[ip].alpha_inst = translate_alpha_opcode(c, inst->Alpha.Opcode);
172 code->alu.inst[ip].r400_ext_addr |= R400_ADDR_EXT_RGB_MSB_BIT(j);
174 code->alu.inst[ip].rgb_addr |= src << (6*j);
179 code->alu.inst[ip].r400_ext_addr |= R400_ADDR_EXT_A_MSB_BIT(j);
181 code->alu.inst[ip].alpha_addr |= src << (6*j);
186 code->alu.inst[ip].rgb_inst |= arg << (7*j);
191 code->alu
[all...]
H A Dradeon_code.h215 } alu; member in struct:r300_fragment_program_code
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dr300_fragprog.c136 int regc = code->alu.inst[i].rgb_addr >> (j * 6);
137 int rega = code->alu.inst[i].alpha_addr >> (j * 6);
139 code->alu.inst[i].r400_ext_addr);
141 code->alu.inst[i].r400_ext_addr);
151 (code->alu.inst[i].
153 (code->alu.inst[i].
155 (code->alu.inst[i].
160 code->alu.inst[i].r400_ext_addr);
163 ((code->alu.inst[i].
169 (code->alu
[all...]
H A Dr300_fragprog_emit.c157 if (code->alu.length >= c->Base.max_alu_insts) {
162 ip = code->alu.length++;
164 code->alu.inst[ip].rgb_inst = translate_rgb_opcode(c, inst->RGB.Opcode);
165 code->alu.inst[ip].alpha_inst = translate_alpha_opcode(c, inst->Alpha.Opcode);
172 code->alu.inst[ip].r400_ext_addr |= R400_ADDR_EXT_RGB_MSB_BIT(j);
174 code->alu.inst[ip].rgb_addr |= src << (6*j);
179 code->alu.inst[ip].r400_ext_addr |= R400_ADDR_EXT_A_MSB_BIT(j);
181 code->alu.inst[ip].alpha_addr |= src << (6*j);
186 code->alu.inst[ip].rgb_inst |= arg << (7*j);
191 code->alu
[all...]
H A Dradeon_code.h215 } alu; member in struct:r300_fragment_program_code
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/
H A Dr300_fs.c312 unsigned int alu_length = code->alu.length;
329 (code->r390_mode ? (code->alu.length) : 0) +
331 code->alu.length * 4 +
368 OUT_CB(code->alu.inst[i + bank_alu_offset].rgb_inst);
372 OUT_CB(code->alu.inst[i + bank_alu_offset].rgb_addr);
376 OUT_CB(code->alu.inst[i + bank_alu_offset].alpha_inst);
380 OUT_CB(code->alu.inst[i + bank_alu_offset].alpha_addr);
385 OUT_CB(code->alu.inst[i + bank_alu_offset].r400_ext_addr);
/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_fs.c312 unsigned int alu_length = code->alu.length;
329 (code->r390_mode ? (code->alu.length) : 0) +
331 code->alu.length * 4 +
368 OUT_CB(code->alu.inst[i + bank_alu_offset].rgb_inst);
372 OUT_CB(code->alu.inst[i + bank_alu_offset].rgb_addr);
376 OUT_CB(code->alu.inst[i + bank_alu_offset].alpha_inst);
380 OUT_CB(code->alu.inst[i + bank_alu_offset].alpha_addr);
385 OUT_CB(code->alu.inst[i + bank_alu_offset].r400_ext_addr);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/
H A Dxorg_exa.c344 ExaPrepareSolid(PixmapPtr pPixmap, int alu, Pixel planeMask, Pixel fg) argument
365 if (alu != GXcopy)
424 int ydir, int alu, Pixel planeMask)
449 if (alu != GXcopy)
450 XORG_FALLBACK("alu not GXcopy");
423 ExaPrepareCopy(PixmapPtr pSrcPixmap, PixmapPtr pDstPixmap, int xdir, int ydir, int alu, Pixel planeMask) argument
/external/mesa3d/src/gallium/state_trackers/xorg/
H A Dxorg_exa.c344 ExaPrepareSolid(PixmapPtr pPixmap, int alu, Pixel planeMask, Pixel fg) argument
365 if (alu != GXcopy)
424 int ydir, int alu, Pixel planeMask)
449 if (alu != GXcopy)
450 XORG_FALLBACK("alu not GXcopy");
423 ExaPrepareCopy(PixmapPtr pSrcPixmap, PixmapPtr pDstPixmap, int xdir, int ydir, int alu, Pixel planeMask) argument
/external/valgrind/main/VEX/priv/
H A Dhost_s390_defs.c571 addHRegUse(u, HRmWrite, insn->variant.alu.dst);
572 addHRegUse(u, HRmRead, insn->variant.alu.dst); /* op1 */
573 s390_opnd_RMI_get_reg_usage(u, insn->variant.alu.op2);
899 insn->variant.alu.dst = lookupHRegRemap(m, insn->variant.alu.dst);
900 s390_opnd_RMI_map_regs(m, &insn->variant.alu.op2);
5459 insn->variant.alu.tag = tag;
5460 insn->variant.alu.dst = dst;
5461 insn->variant.alu.op2 = op2;
6635 switch (insn->variant.alu
[all...]
H A Dhost_s390_defs.h409 } alu; member in union:__anon31210::__anon31211

Completed in 1400 milliseconds