From 51d7c42165d2344d0019299d42b34c07f7f5e8d0 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 29 Jan 2020 16:20:23 -0600 Subject: [PATCH] intel/disasm: SEND has two sources on Gen12+ Reviewed-by: Caio Marcelo de Oliveira Filho Reviewed-by: Kenneth Graunke Part-of: --- src/intel/compiler/brw_eu.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/intel/compiler/brw_eu.cpp b/src/intel/compiler/brw_eu.cpp index 16600bdc537..78272f27fbf 100644 --- a/src/intel/compiler/brw_eu.cpp +++ b/src/intel/compiler/brw_eu.cpp @@ -531,8 +531,10 @@ static const struct opcode_desc opcode_descs[] = { { BRW_OPCODE_GOTO, 46, "goto", 0, 0, GEN_GE(GEN8) }, { BRW_OPCODE_POP, 47, "pop", 2, 0, GEN_LE(GEN5) }, { BRW_OPCODE_WAIT, 48, "wait", 1, 0, GEN_LT(GEN12) }, - { BRW_OPCODE_SEND, 49, "send", 1, 1, GEN_ALL }, - { BRW_OPCODE_SENDC, 50, "sendc", 1, 1, GEN_ALL }, + { BRW_OPCODE_SEND, 49, "send", 1, 1, GEN_LT(GEN12) }, + { BRW_OPCODE_SENDC, 50, "sendc", 1, 1, GEN_LT(GEN12) }, + { BRW_OPCODE_SEND, 49, "send", 2, 1, GEN_GE(GEN12) }, + { BRW_OPCODE_SENDC, 50, "sendc", 2, 1, GEN_GE(GEN12) }, { BRW_OPCODE_SENDS, 51, "sends", 2, 1, GEN_GE(GEN9) & GEN_LT(GEN12) }, { BRW_OPCODE_SENDSC, 52, "sendsc", 2, 1, GEN_GE(GEN9) & GEN_LT(GEN12) }, { BRW_OPCODE_MATH, 56, "math", 2, 1, GEN_GE(GEN6) }, -- 2.30.2