diff options
author | Iago Toral Quiroga <[email protected]> | 2016-07-22 13:36:25 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2017-04-14 14:56:06 -0700 |
commit | fbac8b1f9465fd13dd61aa0010049d1b61654a2b (patch) | |
tree | 5a184aef137b9c10ce61a7768163ad5a431ee7ad | |
parent | ff29f488d4a2d05cdefbca7d675c479b2a1780a0 (diff) |
i965/disasm: also print nibctrl in IVB for execsize=8
4-wide DF operations where NibCtrl applies require and execsize of 8
in IvyBridge/BayTrail.
v2:
- Refactor NibCtrl printing (Matt)
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Francisco Jerez <[email protected]>
-rw-r--r-- | src/intel/compiler/brw_disasm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/intel/compiler/brw_disasm.c b/src/intel/compiler/brw_disasm.c index 536a003dcbe..8b44736b9b6 100644 --- a/src/intel/compiler/brw_disasm.c +++ b/src/intel/compiler/brw_disasm.c @@ -1182,10 +1182,10 @@ qtr_ctrl(FILE *file, const struct gen_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); + const unsigned nib_ctl = devinfo->gen < 7 ? 0 : + brw_inst_nib_control(devinfo, inst); - if (exec_size < 8) { - const unsigned nib_ctl = devinfo->gen < 7 ? 0 : - brw_inst_nib_control(devinfo, inst); + if (exec_size < 8 || nib_ctl) { format(file, " %dN", qtr_ctl * 2 + nib_ctl + 1); } else if (exec_size == 8) { switch (qtr_ctl) { |