Lines Matching refs:tuple

309 bi_pack_tuple(bi_clause *clause, bi_tuple *tuple, bi_tuple *prev, bool first_tuple, gl_shader_stage stage)
311 bi_assign_slots(tuple, prev);
312 tuple->regs.fau_idx = tuple->fau_idx;
313 tuple->regs.first_instruction = first_tuple;
315 bi_flip_slots(&tuple->regs);
317 bool sr_read = tuple->add &&
318 bi_opcode_props[(tuple->add)->op].sr_read;
320 uint64_t reg = bi_pack_registers(tuple->regs);
321 uint64_t fma = bi_pack_fma(tuple->fma,
322 bi_get_src_new(tuple->fma, &tuple->regs, 0),
323 bi_get_src_new(tuple->fma, &tuple->regs, 1),
324 bi_get_src_new(tuple->fma, &tuple->regs, 2),
325 bi_get_src_new(tuple->fma, &tuple->regs, 3));
327 uint64_t add = bi_pack_add(tuple->add,
328 bi_get_src_new(tuple->add, &tuple->regs, sr_read + 0),
329 bi_get_src_new(tuple->add, &tuple->regs, sr_read + 1),
330 bi_get_src_new(tuple->add, &tuple->regs, sr_read + 2),
333 if (tuple->add) {
334 bi_instr *add = tuple->add;
404 /* Indexed first by tuple count and second by constant word number,
449 /* top 3-bits of 78-bits is tuple >> 75 == (tuple >> 64) >> 11 */
450 struct bi_packed_tuple tuple = tuples[val];
451 return (tuple.hi >> 11);
478 struct bi_packed_tuple tuple = tuples[val];
495 uint64_t lo = (tuple.lo >> offset);
497 : (offset > 64) ? (tuple.hi >> (offset - 64))
498 : (tuple.hi << (64 - offset));
673 /* Whether to end the clause immediately after the last tuple */
697 const bi_tuple *tuple = &clause->tuples[clause->tuple_count - 1];
698 const bi_instr *ins = tuple->add;
704 unsigned loc = tuple->regs.fau_idx - BIR_FAU_BLEND_0;