Lines Matching refs:ctrl
58 if (regs.ctrl == 0)
69 // this represents the decoded version of the ctrl register field.
139 unsigned ctrl;
140 if (regs.ctrl == 0) {
141 ctrl = regs.reg1 >> 2;
145 ctrl = regs.ctrl;
151 ctrl = (ctrl & 0x7) | ((ctrl & 0x8) << 1);
153 ctrl += 16;
155 decoded.slot23 = bifrost_reg_ctrl_lut[ctrl];
164 struct bifrost_reg_ctrl ctrl = DecodeRegCtrl(fp, srcs, first);
166 if (ctrl.read_reg0)
168 if (ctrl.read_reg1)
171 const char *slot3_fma = ctrl.slot23.slot3_fma ? "FMA" : "ADD";
173 if (ctrl.slot23.slot2 == BIFROST_OP_WRITE)
175 else if (ctrl.slot23.slot2 == BIFROST_OP_WRITE_LO)
177 else if (ctrl.slot23.slot2 == BIFROST_OP_WRITE_HI)
179 else if (ctrl.slot23.slot2 == BIFROST_OP_READ)
182 if (ctrl.slot23.slot3 == BIFROST_OP_WRITE)
184 else if (ctrl.slot23.slot3 == BIFROST_OP_WRITE_LO)
186 else if (ctrl.slot23.slot3 == BIFROST_OP_WRITE_HI)
208 struct bifrost_reg_ctrl ctrl = DecodeRegCtrl(fp, *next_regs, last);
209 if (ctrl.slot23.slot2 >= BIFROST_OP_WRITE) {
211 bi_disasm_dest_mask(fp, ctrl.slot23.slot2);
212 } else if (ctrl.slot23.slot3 >= BIFROST_OP_WRITE && ctrl.slot23.slot3_fma) {
214 bi_disasm_dest_mask(fp, ctrl.slot23.slot3);
223 struct bifrost_reg_ctrl ctrl = DecodeRegCtrl(fp, *next_regs, last);
225 if (ctrl.slot23.slot3 >= BIFROST_OP_WRITE && !ctrl.slot23.slot3_fma) {
227 bi_disasm_dest_mask(fp, ctrl.slot23.slot3);