Lines Matching refs:tuple
321 bi_pack_tuple(bi_clause *clause, bi_tuple *tuple, bi_tuple *prev, bool first_tuple, gl_shader_stage stage)
323 bi_assign_slots(tuple, prev);
324 tuple->regs.fau_idx = tuple->fau_idx;
325 tuple->regs.first_instruction = first_tuple;
327 bi_flip_slots(&tuple->regs);
329 bool sr_read = tuple->add &&
330 bi_opcode_props[(tuple->add)->op].sr_read;
332 uint64_t reg = bi_pack_registers(tuple->regs);
333 uint64_t fma = bi_pack_fma(tuple->fma,
334 bi_get_src_new(tuple->fma, &tuple->regs, 0),
335 bi_get_src_new(tuple->fma, &tuple->regs, 1),
336 bi_get_src_new(tuple->fma, &tuple->regs, 2),
337 bi_get_src_new(tuple->fma, &tuple->regs, 3));
339 uint64_t add = bi_pack_add(tuple->add,
340 bi_get_src_new(tuple->add, &tuple->regs, sr_read + 0),
341 bi_get_src_new(tuple->add, &tuple->regs, sr_read + 1),
342 bi_get_src_new(tuple->add, &tuple->regs, sr_read + 2),
345 if (tuple->add) {
346 bi_instr *add = tuple->add;
416 /* Indexed first by tuple count and second by constant word number,
461 /* top 3-bits of 78-bits is tuple >> 75 == (tuple >> 64) >> 11 */
462 struct bi_packed_tuple tuple = tuples[val];
463 return (tuple.hi >> 11);
490 struct bi_packed_tuple tuple = tuples[val];
507 uint64_t lo = (tuple.lo >> offset);
509 : (offset > 64) ? (tuple.hi >> (offset - 64))
510 : (tuple.hi << (64 - offset));
695 /* Whether to end the clause immediately after the last tuple */
719 const bi_tuple *tuple = &clause->tuples[clause->tuple_count - 1];
720 const bi_instr *ins = tuple->add;
726 unsigned loc = tuple->regs.fau_idx - BIR_FAU_BLEND_0;