agx: optimize signext imad
improves clpeak short. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32081>
This commit is contained in:
committed by
Marge Bot
parent
cf0261980a
commit
c9e42073a1
@@ -562,7 +562,7 @@ agx_optimizer_forward(agx_context *ctx)
|
||||
agx_optimizer_ballot(ctx, defs, I);
|
||||
} else if (I->op == AGX_OPCODE_BITOP) {
|
||||
agx_optimizer_bitop(defs, I);
|
||||
} else if (I->op == AGX_OPCODE_IADD) {
|
||||
} else if (I->op == AGX_OPCODE_IADD || I->op == AGX_OPCODE_IMAD) {
|
||||
agx_optimizer_signext(defs, I);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user