summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/etnaviv/etnaviv_disasm.c
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2017-10-01 11:21:20 +0200
committerChristian Gmeiner <[email protected]>2017-10-03 19:49:47 +0200
commitec254f4bfa65cbe27cff4422898afa8fb32ef97d (patch)
tree6c848ce897234df27af80c6c62e006b0eba2f9ea /src/gallium/drivers/etnaviv/etnaviv_disasm.c
parent80f608b5304396fdfc16cd318f332d93f188c381 (diff)
etnaviv: Add support for DP2 instruction
A two-component dot product instruction is supported with HALTI2, use it on hardware that supports it. Signed-off-by: Wladimir J. van der Laan <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]>
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_disasm.c')
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_disasm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_disasm.c b/src/gallium/drivers/etnaviv/etnaviv_disasm.c
index 918d24eb46e..9ae99daf6df 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_disasm.c
+++ b/src/gallium/drivers/etnaviv/etnaviv_disasm.c
@@ -513,6 +513,7 @@ static const struct opc_info {
OPC(AND),
OPC(XOR),
OPC(NOT),
+ OPC(DP2),
};
static void