Lines Matching defs:consts
304 static void dump_fau_src(FILE *fp, struct bifrost_regs srcs, unsigned branch_offset, struct bi_constants *consts, bool high32)
311 uint64_t imm = consts->raw[idx];
313 if (consts->mods[idx] != BI_CONSTMOD_NONE)
314 dump_pc_imm(fp, imm, branch_offset, consts->mods[idx], high32);
365 dump_src(FILE *fp, unsigned src, struct bifrost_regs srcs, unsigned branch_offset, struct bi_constants *consts, bool isFMA)
384 dump_fau_src(fp, srcs, branch_offset, consts, false);
387 dump_fau_src(fp, srcs, branch_offset, consts, true);
445 struct bi_constants consts = {};
485 consts.raw[0] = bits(words[3], 17, 32) << 4;
502 consts.raw[0] = const0;
503 decode_M(&consts.mods[0], bits(words[2], 4, 8), bits(words[2], 8, 12), true);
524 consts.raw[0] = const0;
525 decode_M(&consts.mods[0], bits(words[2], 4, 8), bits(words[2], 8, 12), true);
549 consts.raw[0] |= (bits(words[2], 19, 32) | ((uint64_t) words[3] << 13)) << 19;
610 consts.raw[const_idx] = const0;
611 consts.raw[const_idx + 1] = const1;
626 decode_M(&consts.mods[const_idx], M1, M2, false);
669 header.staging_register, offset, &consts,
673 header.staging_register, offset, &consts,
680 fprintf(fp, "# const%d: %08" PRIx64 "\n", 2 * i, consts.raw[i] & 0xffffffff);
681 fprintf(fp, "# const%d: %08" PRIx64 "\n", 2 * i + 1, consts.raw[i] >> 32);