Home
last modified time | relevance | path

Searched refs:suboffset (Results 1 – 17 of 17) sorted by relevance

/external/igt-gpu-tools/tests/i915/
Dgem_pwrite.c141 int suboffset = (offset >> 12) % (4096 - sizeof(offset)); in test_big_cpu() local
144 gem_write(fd, handle, offset + suboffset, &offset, sizeof(offset)); in test_big_cpu()
145 gem_read(fd, handle, offset + suboffset, &tmp, sizeof(tmp)); in test_big_cpu()
153 int suboffset = 4096 - (offset % (4096 - sizeof(offset))); in test_big_cpu() local
156 gem_write(fd, handle, (offset<<12) + suboffset, &offset, sizeof(offset)); in test_big_cpu()
157 gem_read(fd, handle, (offset<<12) + suboffset, &tmp, sizeof(tmp)); in test_big_cpu()
166 int suboffset = tmp % (4096 - sizeof(offset)); in test_big_cpu() local
168 gem_write(fd, handle, (tmp << 12) + suboffset, &offset, sizeof(offset)); in test_big_cpu()
169 gem_read(fd, handle, (tmp << 12) + suboffset, &tmp, sizeof(tmp)); in test_big_cpu()
205 int suboffset = (offset >> 12) % (4096 / sizeof(offset) - 1) * sizeof(offset); in test_big_gtt() local
[all …]
/external/mesa3d/src/intel/compiler/
Dbrw_ir_vec4.h78 const unsigned suboffset = reg->offset + bytes; in add_byte_offset() local
79 reg->nr += suboffset / REG_SIZE; in add_byte_offset()
80 reg->offset = suboffset % REG_SIZE; in add_byte_offset()
86 const unsigned suboffset = reg->subnr + bytes; in add_byte_offset() local
87 reg->nr += suboffset / REG_SIZE; in add_byte_offset()
88 reg->subnr = suboffset % REG_SIZE; in add_byte_offset()
Dbrw_vec4_generator.cpp445 brw_MOV(p, suboffset(stride(dst, 2, 2, 1), 3), in generate_gs_set_write_offset()
451 brw_MUL(p, suboffset(stride(dst, 2, 2, 1), 3), stride(src0, 8, 2, 4), in generate_gs_set_write_offset()
480 suboffset(stride(retype(dst, BRW_REGISTER_TYPE_UW), 2, 2, 1), 4), in generate_gs_set_vertex_count()
550 brw_MOV(p, suboffset(vec1(dst), 2), suboffset(vec1(src), 0)); in generate_gs_set_dword_2()
564 dst = suboffset(vec1(dst), 4); in generate_gs_prepare_channel_masks()
632 brw_OR(p, suboffset(vec1(dst), 21), vec1(src), suboffset(vec1(src), 16)); in generate_gs_set_channel_masks()
664 brw_AND(p, suboffset(vec1(dst), 0), suboffset(vec1(src0), 0), in generate_gs_ff_sync_set_primitives()
666 brw_SHL(p, suboffset(vec1(dst), 0), suboffset(vec1(dst), 0), brw_imm_ud(16)); in generate_gs_ff_sync_set_primitives()
668 brw_AND(p, suboffset(vec1(src2), 0), suboffset(vec1(src1), 0), in generate_gs_ff_sync_set_primitives()
670 brw_OR(p, suboffset(vec1(dst), 0), in generate_gs_ff_sync_set_primitives()
[all …]
Dbrw_reg.h594 suboffset(struct brw_reg reg, unsigned delta) in suboffset() function
603 return suboffset(retype(brw_vec16_reg(file, nr, 0), BRW_REGISTER_TYPE_UW), subnr); in brw_uw16_reg()
610 return suboffset(retype(brw_vec8_reg(file, nr, 0), BRW_REGISTER_TYPE_UW), subnr); in brw_uw8_reg()
617 return suboffset(retype(brw_vec1_reg(file, nr, 0), BRW_REGISTER_TYPE_UW), subnr); in brw_uw1_reg()
945 return suboffset(retype(brw_vec16_reg(BRW_ARCHITECTURE_REGISTER_FILE, in brw_mask_stack_reg()
1031 return suboffset(retype(spread(reg, scale), type), i); in subscript()
1068 return vec1(suboffset(reg, elt)); in get_element()
1074 return vec1(suboffset(retype(reg, BRW_REGISTER_TYPE_UD), elt)); in get_element_ud()
1080 return vec1(suboffset(retype(reg, BRW_REGISTER_TYPE_D), elt)); in get_element_d()
Dbrw_ir_fs.h84 const unsigned suboffset = reg.offset + delta; in byte_offset() local
85 reg.nr += suboffset / REG_SIZE; in byte_offset()
86 reg.offset = suboffset % REG_SIZE; in byte_offset()
91 const unsigned suboffset = reg.subnr + delta; in byte_offset() local
92 reg.nr += suboffset / REG_SIZE; in byte_offset()
93 reg.subnr = suboffset % REG_SIZE; in byte_offset()
Dbrw_fs_generator.cpp629 brw_MOV(p, suboffset(dst, group), stride(suboffset(src, i), 0, 1, 0)); in generate_shuffle()
634 struct brw_reg group_idx = suboffset(idx, group); in generate_shuffle()
721 struct brw_reg gdst = suboffset(dst, group); in generate_shuffle()
731 brw_MOV(p, suboffset(dst, group * dst.hstride), in generate_shuffle()
766 const struct brw_reg src_0 = suboffset(src, BRW_GET_SWZ(swiz, 0)); in generate_quad_swizzle()
793 p, stride(suboffset(dst, c), in generate_quad_swizzle()
795 stride(suboffset(src, BRW_GET_SWZ(swiz, c)), 4, 1, 0)); in generate_quad_swizzle()
988 brw_inst *mac = brw_MAC(p, offset(dst, g), suboffset(interp, 1), in generate_linterp()
1004 i[1] = brw_MAC(p, dst, suboffset(interp, 1), delta_y); in generate_linterp()
1575 insn = brw_AND(p, suboffset(dst, 3), in generate_scratch_header()
[all …]
Dbrw_fs_visitor.cpp166 fs_reg(stride(suboffset(g1_uw, 4), 2, 4, 0)), in emit_interpolation_setup_gen4()
169 fs_reg(stride(suboffset(g1_uw, 5), 2, 4, 0)), in emit_interpolation_setup_gen4()
297 fs_reg(stride(suboffset(gi_uw, 4), 1, 4, 0)), in emit_interpolation_setup_gen6()
315 fs_reg(stride(suboffset(gi_uw, 4), 2, 4, 0)), in emit_interpolation_setup_gen6()
318 fs_reg(stride(suboffset(gi_uw, 5), 2, 4, 0)), in emit_interpolation_setup_gen6()
Dbrw_clip_util.c229 vec1(suboffset(t_nopersp, 1))); in brw_clip_interp_vertex()
Dbrw_fs_copy_propagation.cpp651 const unsigned suboffset = rel_offset % type_sz(entry->dst.type); in try_copy_propagate() local
657 component * entry_stride * type_sz(entry->src.type) + suboffset); in try_copy_propagate()
Dbrw_eu_emit.c1268 inst = brw_MOV(p, suboffset(dst, 1), brw_imm_w(0)); in brw_F32TO16()
2827 suboffset(vec1(retype(surface, BRW_REGISTER_TYPE_UD)), in brw_send_indirect_surface_message()
3405 src = align1 ? stride(suboffset(src, i), 0, 1, 0) : in brw_broadcast()
3406 stride(suboffset(src, 4 * i), 0, 4, 1); in brw_broadcast()
3503 stride(suboffset(src, 4), 4, 4, 1), in brw_broadcast()
Dbrw_compile_sf.c339 brw_MOV(p, vec2(suboffset(c->vert[i], 2)), vec2(c->z[i])); in copy_z_inv_w()
Dbrw_vec4.cpp2621 *hw_reg = suboffset(*hw_reg, 2); in apply_logical_swizzle()
Dbrw_fs.cpp8446 suboffset(retype(brw_vec1_grf(0, 0), BRW_REGISTER_TYPE_UW), 1)); in run_cs()
/external/igt-gpu-tools/assembler/
Dbrw_reg.h315 suboffset(struct brw_reg reg, unsigned delta) in suboffset() function
344 return suboffset(retype(brw_vec16_reg(file, nr, 0), BRW_REGISTER_TYPE_UW), subnr); in brw_uw16_reg()
351 return suboffset(retype(brw_vec8_reg(file, nr, 0), BRW_REGISTER_TYPE_UW), subnr); in brw_uw8_reg()
358 return suboffset(retype(brw_vec1_reg(file, nr, 0), BRW_REGISTER_TYPE_UW), subnr); in brw_uw1_reg()
648 return vec1(suboffset(reg, elt)); in get_element()
654 return vec1(suboffset(retype(reg, BRW_REGISTER_TYPE_UD), elt)); in get_element_ud()
660 return vec1(suboffset(retype(reg, BRW_REGISTER_TYPE_D), elt)); in get_element_d()
/external/mesa3d/src/compiler/glsl/
Dir_constant_expression.cpp504 int suboffset; in constant_referenced() local
510 if (!constant_referenced(deref, variable_context, substore, suboffset)) in constant_referenced()
522 offset = suboffset + index; in constant_referenced()
537 int suboffset; in constant_referenced() local
539 if (!constant_referenced(deref, variable_context, substore, suboffset)) in constant_referenced()
544 assert(suboffset == 0); in constant_referenced()
/external/python/cpython2/Doc/c-api/
Dbuffer.rst95 suboffset numbers are greater than or equal to 0, then the value stored
96 along the indicated dimension is a pointer and the suboffset value
98 suboffset value that it negative indicates that no de-referencing should
/external/python/cpython3/Doc/c-api/
Dbuffer.rst196 pointers and the suboffset value dictates how many bytes to add to each
197 pointer after de-referencing. A suboffset value that is negative