Home
last modified time | relevance | path

Searched refs:SSA_REG_FROM_FIXED (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_emit.c607 ldst.reg = SSA_REG_FROM_FIXED(ins->src[0]) & 1; in load_store_from_instr()
609 ldst.reg = SSA_REG_FROM_FIXED(ins->dest); in load_store_from_instr()
618 ldst.swizzle |= (SSA_REG_FROM_FIXED(ins->src[3]) & 1 ? 1 : 0) << 2; in load_store_from_instr()
622 ldst.arg_reg = SSA_REG_FROM_FIXED(ins->src[1]) - REGISTER_LDST_BASE; in load_store_from_instr()
628 ldst.index_reg = SSA_REG_FROM_FIXED(ins->src[2]) - REGISTER_LDST_BASE; in load_store_from_instr()
642 unsigned src1 = ins->src[1] == ~0 ? REGISTER_UNUSED : SSA_REG_FROM_FIXED(ins->src[1]); in texture_word_from_instr()
645 unsigned dest = ins->dest == ~0 ? REGISTER_UNUSED : SSA_REG_FROM_FIXED(ins->dest); in texture_word_from_instr()
650 .select = SSA_REG_FROM_FIXED(ins->src[2]) & 1, in texture_word_from_instr()
667 unsigned offset_reg = SSA_REG_FROM_FIXED(ins->src[3]); in texture_word_from_instr()
865 src2_reg = SSA_REG_FROM_FIXED(ins->src[1]); in emit_alu_bundle()
[all …]
Dhelpers.h198 #define SSA_REG_FROM_FIXED(reg) ((((reg) & ~1) >> SSA_FIXED_SHIFT) - 1) macro
Dmidgard_print.c49 int reg = SSA_REG_FROM_FIXED(source); in mir_print_index()
Dmidgard_ra.c89 return default_phys_reg(SSA_REG_FROM_FIXED(reg), shift); in index_to_reg()
1042 unsigned idx = (23 - SSA_REG_FROM_FIXED(ins->src[i])) * 4; in mir_demote_uniforms()