nouveau/mme: Don't allow WaW dependencies in the same Turing instruction
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
committed by
Marge Bot
parent
5560f5f4ff
commit
83142c825f
@@ -276,7 +276,9 @@ mme_tu104_alus_have_dependency(const struct mme_tu104_alu *first,
|
||||
const struct mme_tu104_alu *second)
|
||||
{
|
||||
if (first->dst != MME_TU104_REG_ZERO &&
|
||||
(first->dst == second->src[0] || first->dst == second->src[1]))
|
||||
(first->dst == second->dst ||
|
||||
first->dst == second->src[0] ||
|
||||
first->dst == second->src[1]))
|
||||
return true;
|
||||
|
||||
/* TODO: This could be more detailed */
|
||||
|
||||
Reference in New Issue
Block a user