Home
last modified time | relevance | path

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

12

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs_surface_builder.h33 fs_reg
35 const fs_reg &surface, const fs_reg &addr,
40 emit_untyped_write(const fs_builder &bld, const fs_reg &surface,
41 const fs_reg &addr, const fs_reg &src,
45 fs_reg
47 const fs_reg &surface, const fs_reg &addr,
48 const fs_reg &src0, const fs_reg &src1,
52 fs_reg
53 emit_typed_read(const fs_builder &bld, const fs_reg &surface,
54 const fs_reg &addr, unsigned dims, unsigned size);
[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.h46 static inline fs_reg
47 offset(const fs_reg &reg, const brw::fs_builder &bld, unsigned delta) in offset()
78 fs_reg vgrf(const glsl_type *const type);
85 const fs_reg &reg);
88 const fs_reg &dst,
89 const fs_reg &surf_index,
90 const fs_reg &varying_offset,
172 void emit_fragcoord_interpolation(fs_reg wpos);
173 fs_reg *emit_frontfacing_interpolation();
174 fs_reg *emit_samplepos_setup();
[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.cpp35 fs_reg *
38 fs_reg *reg = new(this->mem_ctx) in emit_vs_system_value()
39 fs_reg(ATTR, 4 * _mesa_bitcount_64(nir->info->inputs_read), in emit_vs_system_value()
80 fs_reg
81 fs_visitor::emit_mcs_fetch(const fs_reg &coordinate, unsigned components, in emit_mcs_fetch()
82 const fs_reg &texture) in emit_mcs_fetch()
84 const fs_reg dest = vgrf(glsl_type::uvec4_type); in emit_mcs_fetch()
86 fs_reg srcs[TEX_LOGICAL_NUM_SRCS]; in emit_mcs_fetch()
108 fs_visitor::emit_gen6_gather_wa(uint8_t wa, fs_reg dst) in emit_gen6_gather_wa()
116 fs_reg dst_f = retype(dst, BRW_REGISTER_TYPE_F); in emit_gen6_gather_wa()
[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 …]
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 …]
Dbrw_fs_nir.cpp61 fs_reg reg = bld.vgrf(BRW_REGISTER_TYPE_F, 4 * vec4s); in nir_setup_outputs()
81 fs_reg *reg; in emit_system_values_block()
134 fs_reg g1(retype(brw_vec8_grf(1, 0), BRW_REGISTER_TYPE_UD)); in emit_system_values_block()
135 fs_reg iid = abld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_system_values_block()
188 fs_reg shifted = abld.vgrf(BRW_REGISTER_TYPE_UW, 1); in emit_system_values_block()
203 fs_reg inverted = negate(shifted); in emit_system_values_block()
212 fs_reg anded = abld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_system_values_block()
215 fs_reg dst = abld.vgrf(BRW_REGISTER_TYPE_D, 1); in emit_system_values_block()
232 nir_system_values = ralloc_array(mem_ctx, fs_reg, SYSTEM_VALUE_MAX); in nir_emit_system_values()
234 nir_system_values[i] = fs_reg(); in nir_emit_system_values()
[all …]
Dbrw_fs.cpp51 fs_inst::init(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, in init()
52 const fs_reg *src, unsigned sources) in init()
56 this->src = new fs_reg[MAX2(sources, 3)]; in init()
102 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst) in fs_inst()
107 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, in fs_inst()
108 const fs_reg &src0) in fs_inst()
110 const fs_reg src[1] = { src0 }; in fs_inst()
114 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, in fs_inst()
115 const fs_reg &src0, const fs_reg &src1) in fs_inst()
117 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_d2x.cpp49 fs_reg dst = inst->dst; in lower_d2x()
63 fs_reg temp = ibld.vgrf(inst->src[0].type, 1); in lower_d2x()
64 fs_reg strided_temp = subscript(temp, inst->dst.type, 0); in lower_d2x()
Dbrw_fs_live_variables.h69 int var_from_reg(const fs_reg &reg) const in var_from_reg()
103 const fs_reg &reg);
105 const fs_reg &reg);
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_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()
116 fs_reg reg = inst->src[i]; in setup_def_use()
131 fs_reg reg = inst->dst; in setup_def_use()
Dbrw_fs_lower_pack.cpp41 fs_reg dst = inst->dst; in lower_pack()
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()
910 fs_reg unspill_dst(VGRF, alloc.allocate(count)); in spill_reg()
938 fs_reg spill_src(VGRF, alloc.allocate(regs_written(inst))); in spill_reg()
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_copy_propagation.cpp44 fs_reg dst;
45 fs_reg src;
527 fs_reg val = entry->src; in try_constant_propagate()
Dbrw_fs_builder.h44 typedef fs_reg src_reg;
47 typedef fs_reg dst_reg;
Dbrw_fs_register_coalesce.cpp51 fs_reg dst = inst->dst; in is_nop_mov()
/external/v8/src/mips/
Dsimulator-mips.cc2547 fs = get_fpu_register_double(fs_reg()); in DecodeTypeRegisterDRsType()
2944 float fs = get_fpu_register_float(fs_reg()); in DecodeTypeRegisterWRsType()
2949 alu_out = get_fpu_register_signed_word(fs_reg()); in DecodeTypeRegisterWRsType()
2953 alu_out = get_fpu_register_signed_word(fs_reg()); in DecodeTypeRegisterWRsType()
3037 fs = get_fpu_register_float(fs_reg()); in DecodeTypeRegisterSRsType()
3183 float fs = get_fpu_register_float(fs_reg()); in DecodeTypeRegisterSRsType()
3251 (ft_int & 0x1) == 0 ? get_fpu_register_float(fs_reg()) : 0.0); in DecodeTypeRegisterSRsType()
3257 (ft_int & 0x1) != 0 ? get_fpu_register_float(fs_reg()) : 0.0); in DecodeTypeRegisterSRsType()
3438 double fs = get_fpu_register_double(fs_reg()); in DecodeTypeRegisterLRsType()
3446 i64 = get_fpu_register(fs_reg()); in DecodeTypeRegisterLRsType()
[all …]
Dsimulator-mips.h370 inline int32_t fs_reg() const { return instr_.FsValue(); } in fs_reg() function
/external/v8/src/mips64/
Dsimulator-mips64.cc2494 fs = get_fpu_register_float(fs_reg()); in DecodeTypeRegisterSRsType()
2824 (ft_int & 0x1) == 0 ? get_fpu_register_float(fs_reg()) : 0.0); in DecodeTypeRegisterSRsType()
2830 (ft_int & 0x1) != 0 ? get_fpu_register_float(fs_reg()) : 0.0); in DecodeTypeRegisterSRsType()
2871 fs = get_fpu_register_double(fs_reg()); in DecodeTypeRegisterDRsType()
3241 float fs = get_fpu_register_float(fs_reg()); in DecodeTypeRegisterWRsType()
3246 alu_out = get_fpu_register_signed_word(fs_reg()); in DecodeTypeRegisterWRsType()
3250 alu_out = get_fpu_register_signed_word(fs_reg()); in DecodeTypeRegisterWRsType()
3333 double fs = get_fpu_register_double(fs_reg()); in DecodeTypeRegisterLRsType()
3338 i64 = get_fpu_register(fs_reg()); in DecodeTypeRegisterLRsType()
3342 i64 = get_fpu_register(fs_reg()); in DecodeTypeRegisterLRsType()
[all …]

12