Lines Matching defs:offset
544 unsigned offset,
566 brw_inst_set_urb_global_offset(devinfo, insn, offset);
713 uint32_t offset, uint32_t delta)
724 .offset = offset,
2155 * using a constant offset per channel.
2157 * The offset must be aligned to oword size (16 bytes). Used for
2163 unsigned offset)
2174 offset /= 16;
2181 * the offset. We don't want to leave our offset around in g0 or
2194 /* set message header global offset field (reg 0, element 2) */
2201 brw_imm_ud(offset));
2275 unsigned offset)
2281 offset /= 16;
2312 /* set message header global offset field (reg 0, element 2) */
2315 brw_MOV(p, get_element_ud(mrf, 2), brw_imm_ud(offset));
2349 unsigned offset)
2357 * scratch offset.
2361 /* According to the docs, offset is "A 12-bit HWord offset into the memory
2365 offset /= REG_SIZE;
2366 assert(offset < (1 << 12));
2373 offset,
2387 uint32_t offset,
2397 /* On newer hardware, offset is in units of owords. */
2399 offset /= 16;
2413 /* set message header global offset field (reg 0, element 2) */
2420 brw_imm_ud(offset));
2592 * However, we can add an offset to the "Sampler State Pointer"
2596 * offset, and each sampler state is only 16-bytes, so we can't
2597 * exclusively use the offset - we have to use both.
2644 unsigned offset,
2681 offset,
2907 int offset;
2913 for (offset = next_offset(devinfo, store, start_offset);
2914 offset < p->next_insn_offset;
2915 offset = next_offset(devinfo, store, offset)) {
2916 brw_inst *insn = store + offset;
2924 return offset;
2931 if (!while_jumps_before_offset(devinfo, insn, offset, start_offset))
2937 return offset;
2955 int offset;
2963 for (offset = next_offset(devinfo, store, start_offset);
2964 offset < p->next_insn_offset;
2965 offset = next_offset(devinfo, store, offset)) {
2966 brw_inst *insn = store + offset;
2969 if (while_jumps_before_offset(devinfo, insn, offset, start_offset))
2970 return offset;
2984 int offset;
2992 for (offset = start_offset; offset < p->next_insn_offset; offset += 16) {
2993 brw_inst *insn = store + offset;
2998 int block_end_offset = brw_find_next_block_end(p, offset);
3000 brw_inst_set_jip(devinfo, insn, (block_end_offset - offset) / scale);
3003 (brw_find_loop_end(p, offset) - offset +
3009 int block_end_offset = brw_find_next_block_end(p, offset);
3011 brw_inst_set_jip(devinfo, insn, (block_end_offset - offset) / scale);
3013 (brw_find_loop_end(p, offset) - offset) / scale);
3021 int block_end_offset = brw_find_next_block_end(p, offset);
3023 1 * br : (block_end_offset - offset) / scale;
3043 int block_end_offset = brw_find_next_block_end(p, offset);
3047 brw_inst_set_jip(devinfo, insn, (block_end_offset - offset) / scale);
3492 * the sub-register offset. The upper bits of Address Immediate
3494 * address. Any overflow from sub-register offset is dropped."
3496 * Fortunately, for broadcast, we never have a sub-register offset so
3504 unsigned offset = src.nr * REG_SIZE + src.subnr;
3522 if (offset >= limit) {
3524 brw_ADD(p, addr, addr, brw_imm_ud(offset - offset % limit));
3525 offset = offset % limit;
3545 * offset in the indirect here to handle adding 4 bytes to the
3546 * offset and avoid the extra ADD to the register file.
3549 retype(brw_vec1_indirect(addr.subnr, offset),
3553 retype(brw_vec1_indirect(addr.subnr, offset + 4),
3557 retype(brw_vec1_indirect(addr.subnr, offset), src.type));