return 0;
if (inst->bits2.da3src.src0_subreg_nr)
format (file, ".%d", inst->bits2.da3src.src0_subreg_nr);
- string (file, "<4,4,1>");
+ if (inst->bits2.da3src.src0_rep_ctrl)
+ string (file, "<0,1,0>");
+ else
+ string (file, "<4,4,1>");
err |= control (file, "src da16 reg type", three_source_reg_encoding,
inst->bits1.da3src.src_type, NULL);
/*
return 0;
if (src1_subreg_nr)
format (file, ".%d", src1_subreg_nr);
- string (file, "<4,4,1>");
+ if (inst->bits2.da3src.src1_rep_ctrl)
+ string (file, "<0,1,0>");
+ else
+ string (file, "<4,4,1>");
err |= control (file, "src da16 reg type", three_source_reg_encoding,
inst->bits1.da3src.src_type, NULL);
/*
return 0;
if (inst->bits3.da3src.src2_subreg_nr)
format (file, ".%d", inst->bits3.da3src.src2_subreg_nr);
- string (file, "<4,4,1>");
+ if (inst->bits3.da3src.src2_rep_ctrl)
+ string (file, "<0,1,0>");
+ else
+ string (file, "<4,4,1>");
err |= control (file, "src da16 reg type", three_source_reg_encoding,
inst->bits1.da3src.src_type, NULL);
/*
return 0;
if (gen8_src0_3src_subreg_nr(inst))
format(file, ".%d", gen8_src0_3src_subreg_nr(inst));
- string(file, "<4,4,1>");
+ if (gen8_src0_3src_rep_ctrl(inst))
+ string(file, "<0,1,0>");
+ else
+ string(file, "<4,4,1>");
err |= control(file, "src da16 reg type", m_three_source_reg_encoding,
gen8_src_3src_type(inst), NULL);
err |= src_swizzle(file, swz_x, swz_y, swz_z, swz_w);
return 0;
if (src1_subreg_nr)
format(file, ".%d", src1_subreg_nr);
- string(file, "<4,4,1>");
+ if (gen8_src1_3src_rep_ctrl(inst))
+ string(file, "<0,1,0>");
+ else
+ string(file, "<4,4,1>");
err |= control(file, "src da16 reg type", m_three_source_reg_encoding,
gen8_src_3src_type(inst), NULL);
err |= src_swizzle(file, swz_x, swz_y, swz_z, swz_w);
return 0;
if (gen8_src2_3src_subreg_nr(inst))
format(file, ".%d", gen8_src2_3src_subreg_nr(inst));
- string(file, "<4,4,1>");
+ if (gen8_src2_3src_rep_ctrl(inst))
+ string(file, "<0,1,0>");
+ else
+ string(file, "<4,4,1>");
err |= control(file, "src da16 reg type", m_three_source_reg_encoding,
gen8_src_3src_type(inst), NULL);
err |= src_swizzle(file, swz_x, swz_y, swz_z, swz_w);