aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_eu_emit.c
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2019-08-25 18:12:35 -0700
committerFrancisco Jerez <[email protected]>2019-10-11 12:24:16 -0700
commit8a5fad0d926a18ef998dc866dff9e466778c899c (patch)
tree111f25a4333bcd410b0fbe1118c0955e1e2ba73c /src/intel/compiler/brw_eu_emit.c
parent6634ede7aac30ac8d21b9acc9a67010927ec93eb (diff)
intel/eu/gen12: Use SEND instruction for split sends.
The new SEND instruction behaves like the former SENDS instruction. The original single-payload SEND instruction is gone. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_eu_emit.c')
-rw-r--r--src/intel/compiler/brw_eu_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_eu_emit.c b/src/intel/compiler/brw_eu_emit.c
index 6a576edae1f..42dc2617fb0 100644
--- a/src/intel/compiler/brw_eu_emit.c
+++ b/src/intel/compiler/brw_eu_emit.c
@@ -2688,7 +2688,7 @@ brw_send_indirect_split_message(struct brw_codegen *p,
ex_desc = addr;
}
- send = next_insn(p, BRW_OPCODE_SENDS);
+ send = next_insn(p, devinfo->gen >= 12 ? BRW_OPCODE_SEND : BRW_OPCODE_SENDS);
brw_set_dest(p, send, dst);
brw_set_src0(p, send, retype(payload0, BRW_REGISTER_TYPE_UD));
brw_set_src1(p, send, retype(payload1, BRW_REGISTER_TYPE_UD));