Home
last modified time | relevance | path

Searched refs:fs_reg (Results 1 – 25 of 28) sorted by relevance

12

/external/mesa3d/src/intel/compiler/
Dbrw_fs_surface_builder.h32 fs_reg
34 const fs_reg &surface, const fs_reg &addr,
39 emit_untyped_write(const fs_builder &bld, const fs_reg &surface,
40 const fs_reg &addr, const fs_reg &src,
44 fs_reg
46 const fs_reg &surface, const fs_reg &addr,
47 const fs_reg &src0, const fs_reg &src1,
51 fs_reg
52 emit_typed_read(const fs_builder &bld, const fs_reg &surface,
53 const fs_reg &addr, unsigned dims, unsigned size);
[all …]
Dbrw_fs.h47 static inline fs_reg
48 offset(const fs_reg &reg, const brw::fs_builder &bld, unsigned delta) in offset()
81 fs_reg vgrf(const glsl_type *const type);
88 const fs_reg &reg);
91 const fs_reg &dst,
92 const fs_reg &surf_index,
93 const fs_reg &varying_offset,
130 bool get_pull_locs(const fs_reg &src, unsigned *out_surf_index,
180 void emit_fragcoord_interpolation(fs_reg wpos);
181 fs_reg *emit_frontfacing_interpolation();
[all …]
Dbrw_ir_fs.h32 class fs_reg : public backend_reg {
34 DECLARE_RALLOC_CXX_OPERATORS(fs_reg)
38 fs_reg();
39 fs_reg(struct ::brw_reg reg);
40 fs_reg(enum brw_reg_file file, int nr);
41 fs_reg(enum brw_reg_file file, int nr, enum brw_reg_type type);
43 bool equals(const fs_reg &r) const;
56 static inline fs_reg
57 negate(fs_reg reg) in negate()
64 static inline fs_reg
[all …]
Dbrw_fs_surface_builder.cpp37 fs_reg
39 const fs_reg &addr, const fs_reg &src, const fs_reg &surface, in emit_send()
46 const fs_reg usurface = bld.emit_uniformize(surface); in emit_send()
47 const fs_reg srcs[] = { in emit_send()
50 const fs_reg dst = bld.vgrf(BRW_REGISTER_TYPE_UD, rsize); in emit_send()
64 fs_reg
66 const fs_reg &surface, const fs_reg &addr, in emit_untyped_read()
71 addr, fs_reg(), surface, dims, size, size, pred); in emit_untyped_read()
80 emit_untyped_write(const fs_builder &bld, const fs_reg &surface, in emit_untyped_write()
81 const fs_reg &addr, const fs_reg &src, in emit_untyped_write()
[all …]
Dbrw_fs_visitor.cpp36 fs_reg
37 fs_visitor::emit_mcs_fetch(const fs_reg &coordinate, unsigned components, in emit_mcs_fetch()
38 const fs_reg &texture) in emit_mcs_fetch()
40 const fs_reg dest = vgrf(glsl_type::uvec4_type); in emit_mcs_fetch()
42 fs_reg srcs[TEX_LOGICAL_NUM_SRCS]; in emit_mcs_fetch()
64 fs_visitor::emit_gen6_gather_wa(uint8_t wa, fs_reg dst) in emit_gen6_gather_wa()
72 fs_reg dst_f = retype(dst, BRW_REGISTER_TYPE_F); in emit_gen6_gather_wa()
99 bld.MOV(fs_reg(MRF, 2 + i * reg_width, BRW_REGISTER_TYPE_F), in emit_dummy_fs()
163 fs_reg(stride(suboffset(g1_uw, 4), 2, 4, 0)), in emit_interpolation_setup_gen4()
164 fs_reg(brw_imm_v(0x10101010))); in emit_interpolation_setup_gen4()
[all …]
Dtest_fs_saturate_propagation.cpp104 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F()
105 fs_reg dst1 = v->vgrf(glsl_type::float_type); in TEST_F()
106 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
107 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
139 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F()
140 fs_reg dst1 = v->vgrf(glsl_type::float_type); in TEST_F()
141 fs_reg dst2 = v->vgrf(glsl_type::float_type); in TEST_F()
142 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
143 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
177 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F()
[all …]
Dtest_fs_cmod_propagation.cpp104 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F()
105 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
106 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
107 fs_reg zero(brw_imm_f(0.0f)); in TEST_F()
136 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F()
137 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
138 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
139 fs_reg nonzero(brw_imm_f(1.0f)); in TEST_F()
169 fs_reg dest = v->vgrf(glsl_type::uint_type); in TEST_F()
170 fs_reg src0 = v->vgrf(glsl_type::uint_type); in TEST_F()
[all …]
Dbrw_fs_nir.cpp73 fs_reg reg = bld.vgrf(BRW_REGISTER_TYPE_F, 4 * vec4s[loc]); in nir_setup_outputs()
99 subgroup_id = fs_reg(UNIFORM, uniforms++, BRW_REGISTER_TYPE_UD); in nir_setup_uniforms()
106 fs_reg *reg; in emit_system_values_block()
131 fs_reg g1(retype(brw_vec8_grf(1, 0), BRW_REGISTER_TYPE_UD)); in emit_system_values_block()
132 fs_reg iid = abld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_system_values_block()
185 fs_reg shifted = abld.vgrf(BRW_REGISTER_TYPE_UW, 1); in emit_system_values_block()
200 fs_reg inverted = negate(shifted); in emit_system_values_block()
209 fs_reg anded = abld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_system_values_block()
212 fs_reg dst = abld.vgrf(BRW_REGISTER_TYPE_D, 1); in emit_system_values_block()
229 nir_system_values = ralloc_array(mem_ctx, fs_reg, SYSTEM_VALUE_MAX); in nir_emit_system_values()
[all …]
Dbrw_fs.cpp49 fs_inst::init(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, in init()
50 const fs_reg *src, unsigned sources) in init()
54 this->src = new fs_reg[MAX2(sources, 3)]; in init()
100 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst) in fs_inst()
105 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, in fs_inst()
106 const fs_reg &src0) in fs_inst()
108 const fs_reg src[1] = { src0 }; in fs_inst()
112 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, in fs_inst()
113 const fs_reg &src0, const fs_reg &src1) in fs_inst()
115 const fs_reg src[2] = { src0, src1 }; in fs_inst()
[all …]
Dtest_fs_copy_propagation.cpp104 fs_reg vgrf0 = v->vgrf(glsl_type::float_type); in TEST_F()
105 fs_reg vgrf1 = v->vgrf(glsl_type::float_type); in TEST_F()
106 fs_reg vgrf2 = v->vgrf(glsl_type::float_type); in TEST_F()
107 fs_reg vgrf3 = v->vgrf(glsl_type::float_type); in TEST_F()
146 fs_reg vgrf0 = v->vgrf(glsl_type::float_type); in TEST_F()
147 fs_reg vgrf1 = v->vgrf(glsl_type::float_type); in TEST_F()
148 fs_reg vgrf2 = v->vgrf(glsl_type::float_type); in TEST_F()
Dbrw_fs_lower_conversions.cpp53 fs_reg dst = inst->dst; in lower_conversions()
68 fs_reg temp = ibld.vgrf(get_exec_type(inst)); in lower_conversions()
69 fs_reg strided_temp = subscript(temp, dst.type, 0); in lower_conversions()
84 fs_reg temp0 = ibld.vgrf(get_exec_type(inst)); in lower_conversions()
Dbrw_fs_cse.cpp43 fs_reg tmp;
120 fs_reg *xs = a->src; in operands_match()
121 fs_reg *ys = b->src; in operands_match()
200 create_copy_instr(const fs_builder &bld, fs_inst *inst, fs_reg src, bool negate) in create_copy_instr()
209 fs_reg *payload; in create_copy_instr()
221 payload = ralloc_array(bld.shader->mem_ctx, fs_reg, sources); in create_copy_instr()
289 entry->tmp = fs_reg(VGRF, alloc.allocate(written), in opt_cse_local()
333 fs_reg *src_reg = &entry->generator->src[i]; in opt_cse_local()
Dbrw_fs_live_variables.h84 int var_from_reg(const fs_reg &reg) const in var_from_reg()
118 const fs_reg &reg);
120 const fs_reg &reg);
Dbrw_fs_combine_constants.cpp85 reg_link(fs_reg *reg) : reg(reg) {} in reg_link()
88 fs_reg *reg;
92 link(void *mem_ctx, fs_reg *reg) in link()
270 fs_reg reg(VGRF, alloc.allocate(1)); in opt_combine_constants()
296 fs_reg *reg = link->reg; in opt_combine_constants()
Dbrw_fs_live_variables.cpp57 int ip, const fs_reg &reg) in setup_one_read()
75 int ip, const fs_reg &reg) in setup_one_write()
118 fs_reg reg = inst->src[i]; in setup_def_use()
133 fs_reg reg = inst->dst; in setup_def_use()
Dbrw_fs_reg_allocate.cpp36 assign_reg(unsigned *reg_hw_locations, fs_reg *reg) in assign_reg()
754 emit_unspill(const fs_builder &bld, fs_reg dst, in emit_unspill()
789 emit_spill(const fs_builder &bld, fs_reg src, in emit_spill()
918 fs_reg unspill_dst(VGRF, alloc.allocate(count)); in spill_reg()
946 fs_reg spill_src(VGRF, alloc.allocate(regs_written(inst))); in spill_reg()
Dbrw_fs_bank_conflicts.cpp483 is_grf(const fs_reg &r) in is_grf()
495 reg_of(const fs_reg &r) in reg_of()
874 fs_reg
875 transform(const partitioning &p, const permutation &map, fs_reg r) in transform()
Dbrw_fs_lower_pack.cpp41 fs_reg dst = inst->dst; in lower_pack()
Dbrw_fs_dead_code_eliminate.cpp100 inst->dst = fs_reg(retype(brw_null_reg(), inst->dst.type)); in dead_code_eliminate()
Dbrw_fs_sel_peephole.cpp199 fs_reg src0(then_mov[i]->src[0]); in opt_peephole_sel()
Dbrw_fs_builder.h43 typedef fs_reg src_reg;
46 typedef fs_reg dst_reg;
Dbrw_fs_copy_propagation.cpp47 fs_reg dst;
48 fs_reg src;
556 fs_reg val = entry->src; in try_constant_propagate()
Dbrw_fs_register_coalesce.cpp51 fs_reg dst = inst->dst; in is_nop_mov()
/external/v8/src/mips/
Dsimulator-mips.cc2669 fs = get_fpu_register_double(fs_reg()); in DecodeTypeRegisterDRsType()
3066 float fs = get_fpu_register_float(fs_reg()); in DecodeTypeRegisterWRsType()
3071 alu_out = get_fpu_register_signed_word(fs_reg()); in DecodeTypeRegisterWRsType()
3075 alu_out = get_fpu_register_signed_word(fs_reg()); in DecodeTypeRegisterWRsType()
3159 fs = get_fpu_register_float(fs_reg()); in DecodeTypeRegisterSRsType()
3305 float fs = get_fpu_register_float(fs_reg()); in DecodeTypeRegisterSRsType()
3373 (ft_int & 0x1) == 0 ? get_fpu_register_float(fs_reg()) : 0.0); in DecodeTypeRegisterSRsType()
3379 (ft_int & 0x1) != 0 ? get_fpu_register_float(fs_reg()) : 0.0); in DecodeTypeRegisterSRsType()
3560 double fs = get_fpu_register_double(fs_reg()); in DecodeTypeRegisterLRsType()
3568 i64 = get_fpu_register(fs_reg()); in DecodeTypeRegisterLRsType()
[all …]
/external/v8/src/mips64/
Dsimulator-mips64.cc2612 fs = get_fpu_register_float(fs_reg()); in DecodeTypeRegisterSRsType()
2942 (ft_int & 0x1) == 0 ? get_fpu_register_float(fs_reg()) : 0.0); in DecodeTypeRegisterSRsType()
2948 (ft_int & 0x1) != 0 ? get_fpu_register_float(fs_reg()) : 0.0); in DecodeTypeRegisterSRsType()
2989 fs = get_fpu_register_double(fs_reg()); in DecodeTypeRegisterDRsType()
3359 float fs = get_fpu_register_float(fs_reg()); in DecodeTypeRegisterWRsType()
3364 alu_out = get_fpu_register_signed_word(fs_reg()); in DecodeTypeRegisterWRsType()
3368 alu_out = get_fpu_register_signed_word(fs_reg()); in DecodeTypeRegisterWRsType()
3451 double fs = get_fpu_register_double(fs_reg()); in DecodeTypeRegisterLRsType()
3456 i64 = get_fpu_register(fs_reg()); in DecodeTypeRegisterLRsType()
3460 i64 = get_fpu_register(fs_reg()); in DecodeTypeRegisterLRsType()
[all …]

12