summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTopi Pohjolainen <topi.pohjolainen@intel.com>2014-11-07 10:57:06 +0200
committerTopi Pohjolainen <topi.pohjolainen@intel.com>2014-11-11 11:15:05 +0200
commit1129868e687c91ecaedc24af0ff1881f9e008107 (patch)
tree80341d05564796a6ec7c453aa90571834e9a7726
parent0400e546a80e4c44505f3440868a58ff1179fb73 (diff)
i965/eu: Use simd8 for treating hi/lo 32-bits of 16-width doubles
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
-rw-r--r--src/mesa/drivers/dri/i965/brw_eu_emit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c
index 4df21ac15d..7a3898538c 100644
--- a/src/mesa/drivers/dri/i965/brw_eu_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c
@@ -48,6 +48,8 @@ static void guess_execution_size(struct brw_compile *p,
if (reg.width == BRW_WIDTH_8 && p->compressed) {
brw_inst_set_exec_size(brw, insn, BRW_EXECUTE_16);
+ } else if (reg.width == BRW_WIDTH_4 && p->compressed) {
+ brw_inst_set_exec_size(brw, insn, BRW_EXECUTE_8);
} else {
/* Register width definitions are compatible with BRW_EXECUTE_* enums. */
brw_inst_set_exec_size(brw, insn, reg.width);