[Mesa-dev] [PATCH 01/22] i965/disasm: also print nibctrl in IVB for execsize=8
Samuel Iglesias Gonsálvez
siglesias at igalia.com
Thu Jan 5 13:07:21 UTC 2017
From: Iago Toral Quiroga <itoral at igalia.com>
4-wide DF operations where NibCtrl applies require and execsize of 8
in IvyBridge/Valleyview.
---
src/mesa/drivers/dri/i965/brw_disasm.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c
index 167067a..7c3791d 100644
--- a/src/mesa/drivers/dri/i965/brw_disasm.c
+++ b/src/mesa/drivers/dri/i965/brw_disasm.c
@@ -1209,6 +1209,13 @@ qtr_ctrl(FILE *file, const struct gen_device_info *devinfo, brw_inst *inst)
string(file, " 4Q");
break;
}
+ if (devinfo->gen == 7 && !devinfo->is_haswell) {
+ int nib_ctl = brw_inst_nib_control(devinfo, inst);
+ if (nib_ctl == 0)
+ string(file, " 1N");
+ else
+ string(file, " 2N");
+ }
} else if (exec_size == 16) {
if (qtr_ctl < 2)
string(file, " 1H");
--
2.9.3
More information about the mesa-dev
mailing list