Home | History | Annotate | Download | only in i965

Lines Matching refs:da1

123    if (inst->bits1.da1.dest_address_mode != BRW_ADDRESS_DIRECT)
127 if (inst->bits1.da1.dest_reg_file != BRW_GENERAL_REGISTER_FILE)
133 const int type_size = inst_type_size[inst->bits1.da1.dest_reg_type];
134 const int write_start = inst->bits1.da1.dest_reg_nr*REG_SIZE
135 + inst->bits1.da1.dest_subreg_nr;
148 length *= inst->bits1.da1.dest_horiz_stride;
166 if (inst->bits1.da1.dest_reg_file != BRW_MESSAGE_REGISTER_FILE)
169 if (inst->bits1.da1.dest_address_mode != BRW_ADDRESS_DIRECT)
175 const int mrf_index = inst->bits1.da1.dest_reg_nr & 0x0f;
176 const int is_compr4 = inst->bits1.da1.dest_reg_nr & BRW_MRF_COMPR4;
177 const int type_size = inst_type_size[inst->bits1.da1.dest_reg_type];
187 const int length = 8 * type_size * inst->bits1.da1.dest_horiz_stride;
191 + inst->bits1.da1.dest_subreg_nr;
196 + inst->bits1.da1.dest_subreg_nr;
212 length *= inst->bits1.da1.dest_horiz_stride;
215 const int write_start = inst->bits1.da1.dest_reg_nr*REG_SIZE
216 + inst->bits1.da1.dest_subreg_nr;
243 inst->bits1.da1.src0_reg_file == 0)
263 if (inst->bits2.da1.src0_address_mode != BRW_ADDRESS_DIRECT)
278 if (inst->bits1.da1.src0_reg_file != 0)
307 if (inst->bits2.da1.src0_address_mode != BRW_ADDRESS_DIRECT)
310 if (inst->bits1.da1.src0_reg_file != BRW_GENERAL_REGISTER_FILE)
317 const int type_size = inst_type_size[inst->bits1.da1.src0_reg_type];
319 const int width = 1 << inst->bits2.da1.src0_width;
320 const int row_num = elem_num >> inst->bits2.da1.src0_width;
321 const int hs = type_size*inst_stride[inst->bits2.da1.src0_horiz_stride];
322 const int vs = type_size*inst_stride[inst->bits2.da1.src0_vert_stride];
323 int row_start = inst->bits2.da1.src0_reg_nr*REG_SIZE
324 + inst->bits2.da1.src0_subreg_nr;
342 if (inst->bits3.da1.src1_address_mode != BRW_ADDRESS_DIRECT)
345 if (inst->bits1.da1.src1_reg_file != BRW_GENERAL_REGISTER_FILE)
352 const int type_size = inst_type_size[inst->bits1.da1.src1_reg_type];
354 const int width = 1 << inst->bits3.da1.src1_width;
355 const int row_num = elem_num >> inst->bits3.da1.src1_width;
356 const int hs = type_size*inst_stride[inst->bits3.da1.src1_horiz_stride];
357 const int vs = type_size*inst_stride[inst->bits3.da1.src1_vert_stride];
358 int row_start = inst->bits3.da1.src1_reg_nr*REG_SIZE
359 + inst->bits3.da1.src1_subreg_nr;
403 if (mov->bits1.da1.dest_address_mode != BRW_ADDRESS_DIRECT ||
404 mov->bits1.da1.dest_reg_file != BRW_MESSAGE_REGISTER_FILE ||
405 mov->bits1.da1.dest_reg_type != BRW_REGISTER_TYPE_F ||
406 mov->bits1.da1.dest_horiz_stride != BRW_HORIZONTAL_STRIDE_1 ||
407 mov->bits1.da1.dest_subreg_nr != 0)
410 if (mov->bits2.da1.src0_address_mode != BRW_ADDRESS_DIRECT ||
411 mov->bits1.da1.src0_reg_file != BRW_GENERAL_REGISTER_FILE ||
412 mov->bits1.da1.src0_reg_type != BRW_REGISTER_TYPE_F ||
413 mov->bits2.da1.src0_width != BRW_WIDTH_8 ||
414 mov->bits2.da1.src0_horiz_stride != BRW_HORIZONTAL_STRIDE_1 ||
415 mov->bits2.da1.src0_vert_stride != BRW_VERTICAL_STRIDE_8 ||
416 mov->bits2.da1.src0_subreg_nr != 0 ||
417 mov->bits2.da1.src0_abs != 0 ||
418 mov->bits2.da1.src0_negate != 0)
421 *grf_index = mov->bits2.da1.src0_reg_nr;
422 *mrf_index = mov->bits1.da1.dest_reg_nr & 0x0f;
423 *is_compr4 = (mov->bits1.da1.dest_reg_nr & BRW_MRF_COMPR4) != 0;
435 inst->bits1.da1.dest_address_mode == BRW_ADDRESS_DIRECT &&
436 inst->bits1.da1.dest_reg_file == BRW_GENERAL_REGISTER_FILE &&
437 inst->bits1.da1.dest_reg_type == BRW_REGISTER_TYPE_F &&
438 inst->bits1.da1.dest_horiz_stride == BRW_HORIZONTAL_STRIDE_1 &&
439 inst->bits1.da1.dest_reg_nr == grf_index &&
440 inst->bits1.da1.dest_subreg_nr == 0 &&
624 grf_inst->bits1.da1.dest_reg_file = mov->bits1.da1.dest_reg_file;
625 grf_inst->bits1.da1.dest_reg_nr = mov->bits1.da1.dest_reg_nr;
639 insn->bits1.da1.dest_reg_file != BRW_GENERAL_REGISTER_FILE)
694 if (insn->bits1.da1.src0_reg_file == BRW_GENERAL_REGISTER_FILE &&
695 (insn->bits2.da1.src0_address_mode != BRW_ADDRESS_DIRECT ||
696 insn->bits2.da1.src0_reg_nr == insn->bits1.da16.dest_reg_nr))
698 if (insn->bits1.da1.src1_reg_file == BRW_GENERAL_REGISTER_FILE &&
699 (insn->bits3.da1.src1_address_mode != BRW_ADDRESS_DIRECT ||
700 insn->bits3.da1.src1_reg_nr == insn->bits1.da16.dest_reg_nr))