Home
last modified time | relevance | path

Searched refs:brw_inst (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/intel/compiler/
Dbrw_inst.h46 typedef struct brw_inst { struct
48 } brw_inst; argument
50 static inline uint64_t brw_inst_bits(const brw_inst *inst,
52 static inline void brw_inst_set_bits(brw_inst *inst,
59 brw_inst *inst, uint64_t v) \
69 const brw_inst *inst) \
111 brw_inst *inst, uint64_t value) \
118 brw_inst_##name(const struct gen_device_info *devinfo, const brw_inst *inst) \
144 brw_inst *inst, uint64_t value) \
159 brw_inst_##name(const struct gen_device_info *devinfo, const brw_inst *inst) \
[all …]
Dbrw_eu.h90 brw_inst *store;
162 brw_inst *inst, bool on);
165 brw_inst *inst, unsigned group);
181 const struct brw_inst *inst, bool is_compacted,
201 brw_inst *brw_next_insn(struct brw_codegen *p, unsigned opcode);
202 void brw_set_dest(struct brw_codegen *p, brw_inst *insn, struct brw_reg dest);
203 void brw_set_src0(struct brw_codegen *p, brw_inst *insn, struct brw_reg reg);
212 brw_inst *brw_##OP(struct brw_codegen *p, \
217 brw_inst *brw_##OP(struct brw_codegen *p, \
223 brw_inst *brw_##OP(struct brw_codegen *p, \
[all …]
Dbrw_eu_emit.c89 brw_set_dest(struct brw_codegen *p, brw_inst *inst, struct brw_reg dest) in brw_set_dest()
209 brw_set_src0(struct brw_codegen *p, brw_inst *inst, struct brw_reg reg) in brw_set_src0()
345 brw_set_src1(struct brw_codegen *p, brw_inst *inst, struct brw_reg reg) in brw_set_src1()
455 brw_set_desc_ex(struct brw_codegen *p, brw_inst *inst, in brw_set_desc_ex()
470 brw_inst *inst, in brw_set_math_message()
518 brw_inst *insn, in brw_set_ff_sync_message()
540 brw_inst *insn, in brw_set_urb_message()
584 brw_inst *inst, in gen7_set_dp_scratch_message()
614 brw_inst *insn, in brw_inst_set_state()
643 static brw_inst *
[all …]
Dbrw_eu_compact.c970 brw_compact_inst *dst, const brw_inst *src) in set_control_index()
1015 const brw_inst *src, bool is_immediate) in set_datatype_index()
1058 const brw_inst *src, bool is_immediate) in set_subreg_index()
1089 const brw_inst *src) in set_src0_index()
1119 const brw_inst *src, bool is_immediate, unsigned imm) in set_src1_index()
1160 brw_compact_inst *dst, const brw_inst *src) in set_3src_control_index()
1214 brw_compact_inst *dst, const brw_inst *src) in set_3src_source_index()
1274 brw_compact_inst *dst, const brw_inst *src) in set_3src_subreg_index()
1295 has_unmapped_bits(const struct gen_device_info *devinfo, const brw_inst *src) in has_unmapped_bits()
1330 const brw_inst *src) in has_3src_unmapped_bits()
[all …]
Dbrw_eu_validate.c93 inst_is_send(const struct gen_device_info *devinfo, const brw_inst *inst) in inst_is_send()
107 inst_is_split_send(const struct gen_device_info *devinfo, const brw_inst *inst) in inst_is_split_send()
135 inst_dst_type(const struct gen_device_info *devinfo, const brw_inst *inst) in inst_dst_type()
142 inst_is_raw_move(const struct gen_device_info *devinfo, const brw_inst *inst) in inst_is_raw_move()
165 dst_is_null(const struct gen_device_info *devinfo, const brw_inst *inst) in dst_is_null()
172 src0_is_null(const struct gen_device_info *devinfo, const brw_inst *inst) in src0_is_null()
180 src1_is_null(const struct gen_device_info *devinfo, const brw_inst *inst) in src1_is_null()
187 src0_is_acc(const struct gen_device_info *devinfo, const brw_inst *inst) in src0_is_acc()
194 src1_is_acc(const struct gen_device_info *devinfo, const brw_inst *inst) in src1_is_acc()
201 src0_has_scalar_region(const struct gen_device_info *devinfo, const brw_inst *inst) in src0_has_scalar_region()
[all …]
Dbrw_eu.cpp220 brw_inst *inst, bool on) in brw_inst_set_compression()
252 brw_inst *inst, unsigned group) in brw_inst_set_group()
333 p->store = rzalloc_array(mem_ctx, brw_inst, p->store_size); in brw_init_codegen()
396 p->nr_insn -= (p->next_insn_offset - start_offset) / sizeof(brw_inst); in brw_try_override_assembly()
397 p->nr_insn += sb.st_size / sizeof(brw_inst); in brw_try_override_assembly()
400 p->store_size = (start_offset + sb.st_size) / sizeof(brw_inst); in brw_try_override_assembly()
401 p->store = (brw_inst *)reralloc_size(p->mem_ctx, p->store, p->next_insn_offset); in brw_try_override_assembly()
473 int to_bytes_scale = sizeof(brw_inst) / brw_jump_scale(devinfo); in brw_label_assembly()
476 const brw_inst *inst = (const brw_inst *) ((const char *) assembly + offset); in brw_label_assembly()
477 brw_inst uncompacted; in brw_label_assembly()
[all …]
Dtest_eu_compact.cpp32 test_compact_instruction(struct brw_codegen *p, brw_inst src) in test_compact_instruction()
38 brw_inst uncompacted; in test_compact_instruction()
68 clear_pad_bits(const struct gen_device_info *devinfo, brw_inst *inst) in clear_pad_bits()
86 skip_bit(const struct gen_device_info *devinfo, brw_inst *src, int bit) in skip_bit()
145 test_fuzz_compact_instruction(struct brw_codegen *p, brw_inst src) in test_fuzz_compact_instruction()
152 brw_inst instr = src; in test_fuzz_compact_instruction()
267 brw_inst *mov = brw_MOV(p, g0, g2); in gen_f0_1_MOV_GRF_GRF()
Dbrw_fs_generator.cpp244 brw_inst *last_halt = brw_HALT(p); in patch_discard_jumps_to_fb_writes()
252 brw_inst *patch = &p->store[patch_ip->ip]; in patch_discard_jumps_to_fb_writes()
274 brw_inst *reset = brw_MOV(p, brw_mask_reg(BRW_AMASK), in patch_discard_jumps_to_fb_writes()
381 brw_inst *insn = brw_fb_WRITE(p, in fire_fb_write()
492 brw_inst *insn; in generate_mov_indirect()
577 brw_inst *mov = brw_MOV(p, dst, retype(ind_src, reg.type)); in generate_mov_indirect()
672 brw_inst *insn; in generate_shuffle()
792 brw_inst *insn = brw_MOV( in generate_quad_swizzle()
819 brw_inst *send = brw_next_insn(p, BRW_OPCODE_SEND); in generate_urb_read()
840 brw_inst *insn = brw_next_insn(p, BRW_OPCODE_SEND); in generate_urb_write()
[all …]
Dbrw_disasm.c749 dest(FILE *file, const struct gen_device_info *devinfo, const brw_inst *inst) in dest()
829 dest_3src(FILE *file, const struct gen_device_info *devinfo, const brw_inst *inst) in dest_3src()
1100 src0_3src(FILE *file, const struct gen_device_info *devinfo, const brw_inst *inst) in src0_3src()
1186 src1_3src(FILE *file, const struct gen_device_info *devinfo, const brw_inst *inst) in src1_3src()
1259 src2_3src(FILE *file, const struct gen_device_info *devinfo, const brw_inst *inst) in src2_3src()
1347 const brw_inst *inst) in imm()
1465 src0(FILE *file, const struct gen_device_info *devinfo, const brw_inst *inst) in src0()
1542 src1(FILE *file, const struct gen_device_info *devinfo, const brw_inst *inst) in src1()
1604 qtr_ctrl(FILE *file, const struct gen_device_info *devinfo, const brw_inst *inst) in qtr_ctrl()
1638 swsb(FILE *file, const struct gen_device_info *devinfo, const brw_inst *inst) in swsb()
[all …]
Dbrw_disasm_info.c186 if (offset + sizeof(brw_inst) != next->offset) { in disasm_insert_error()
194 new->offset = offset + sizeof(brw_inst); in disasm_insert_error()
Dbrw_compiler.c270 brw_inst *inst = (brw_inst *)(program + prog_data->relocs[i].offset); in brw_write_shader_relocs()
Dbrw_vec4_generator.cpp773 brw_inst *send = brw_next_insn(p, BRW_OPCODE_SEND); in generate_tcs_urb_write()
960 brw_inst *send = brw_next_insn(p, BRW_OPCODE_SEND); in generate_vec4_urb_read()
997 brw_inst *send = brw_next_insn(p, BRW_OPCODE_SEND); in generate_tcs_release_input()
1174 brw_inst *send = brw_next_insn(p, BRW_OPCODE_SEND); in generate_scratch_read()
1250 brw_inst *send = brw_next_insn(p, BRW_OPCODE_SEND); in generate_scratch_write()
1313 brw_inst *send = brw_next_insn(p, BRW_OPCODE_SEND); in generate_pull_constant_load()
1364 brw_inst *insn = brw_next_insn(p, BRW_OPCODE_SEND); in generate_pull_constant_load_gen7()
1383 brw_inst *insn_and = brw_next_insn(p, BRW_OPCODE_AND); in generate_pull_constant_load_gen7()
1686 brw_inst *if_inst = brw_IF(p, BRW_EXECUTE_8); in generate_code()
2050 struct brw_inst *insn = brw_MOV(p, dst, src[0]); in generate_code()
[all …]
Dmeson.build69 'brw_inst.h',
/external/mesa3d/src/intel/tools/
Di965_asm.c63 get_dword(const brw_inst *inst, int idx) in get_dword()
71 print_instruction(FILE *output, bool compact, const brw_inst *instruction) in print_instruction()
140 brw_inst *inst = store + ilabel->offset; in i965_postprocess_labels()
142 int relative_offset = (tlabel->offset - ilabel->offset) / sizeof(brw_inst); in i965_postprocess_labels()
343 const brw_inst *insn = store + offset; in main()
Di965_gram.y346 brw_inst *instruction;
/external/mesa3d/src/intel/common/
Dgen_disasm.c48 const brw_inst *insn = assembly + offset; in gen_disasm_find_end()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_ff_gs_emit.c341 brw_inst *inst; in gen6_sol_program()
Dbrw_context.h143 struct brw_inst;
/external/mesa3d/src/intel/
DMakefile.sources79 compiler/brw_inst.h \
/external/mesa3d/docs/relnotes/
D19.3.0.rst1514 - intel/eu: Split brw_inst ex_desc accessors for SEND(C) vs. SENDS(C).
1528 - intel/eu/gen12: Extend brw_inst.h macros for Gen12 support.