[Mesa-dev] [PATCH 43/95] i965/disasm: print NibCtrl for instructions with execsize 4
Iago Toral Quiroga
itoral at igalia.com
Tue Jul 19 10:40:40 UTC 2016
---
src/mesa/drivers/dri/i965/brw_disasm.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c
index c8bdeab..d5e9916 100644
--- a/src/mesa/drivers/dri/i965/brw_disasm.c
+++ b/src/mesa/drivers/dri/i965/brw_disasm.c
@@ -1169,7 +1169,13 @@ qtr_ctrl(FILE *file, const struct brw_device_info *devinfo, brw_inst *inst)
int qtr_ctl = brw_inst_qtr_control(devinfo, inst);
int exec_size = 1 << brw_inst_exec_size(devinfo, inst);
- if (exec_size == 8) {
+ if (exec_size == 4) {
+ int nib_ctl = brw_inst_nib_control(devinfo, inst);
+ if (nib_ctl == 0)
+ string(file, " 1N");
+ else
+ string(file, " 2N");
+ } else if (exec_size == 8) {
switch (qtr_ctl) {
case 0:
string(file, " 1Q");
--
2.7.4
More information about the mesa-dev
mailing list