From: Francisco Jerez Date: Fri, 27 Sep 2019 22:52:31 +0000 (-0700) Subject: intel/eu/gen11+: Mark dot product opcodes as unsupported on opcode_descs table. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=31182e7aa95be5c999bda51b8a2575bed59fc621;p=mesa.git intel/eu/gen11+: Mark dot product opcodes as unsupported on opcode_descs table. These instructions have been removed from the hardware. Reviewed-by: Caio Marcelo de Oliveira Filho --- diff --git a/src/intel/compiler/brw_eu.cpp b/src/intel/compiler/brw_eu.cpp index cf707f7303e..11bdddcc7cb 100644 --- a/src/intel/compiler/brw_eu.cpp +++ b/src/intel/compiler/brw_eu.cpp @@ -535,10 +535,10 @@ static const struct opcode_desc opcode_descs[] = { { BRW_OPCODE_SUBB, 79, "subb", 2, 1, GEN_GE(GEN7) }, { BRW_OPCODE_SAD2, 80, "sad2", 2, 1, GEN_ALL }, { BRW_OPCODE_SADA2, 81, "sada2", 2, 1, GEN_ALL }, - { BRW_OPCODE_DP4, 84, "dp4", 2, 1, GEN_ALL }, - { BRW_OPCODE_DPH, 85, "dph", 2, 1, GEN_ALL }, - { BRW_OPCODE_DP3, 86, "dp3", 2, 1, GEN_ALL }, - { BRW_OPCODE_DP2, 87, "dp2", 2, 1, GEN_ALL }, + { BRW_OPCODE_DP4, 84, "dp4", 2, 1, GEN_LT(GEN11) }, + { BRW_OPCODE_DPH, 85, "dph", 2, 1, GEN_LT(GEN11) }, + { BRW_OPCODE_DP3, 86, "dp3", 2, 1, GEN_LT(GEN11) }, + { BRW_OPCODE_DP2, 87, "dp2", 2, 1, GEN_LT(GEN11) }, { BRW_OPCODE_LINE, 89, "line", 2, 1, GEN_LE(GEN10) }, { BRW_OPCODE_PLN, 90, "pln", 2, 1, GEN_GE(GEN45) & GEN_LE(GEN10) }, { BRW_OPCODE_MAD, 91, "mad", 3, 1, GEN_GE(GEN6) },