mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
agx: match another address pattern
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32759>
This commit is contained in:
parent
7626e40506
commit
b5d41bc0fb
1 changed files with 5 additions and 0 deletions
|
|
@ -210,6 +210,11 @@ ixor_bcsel = [
|
|||
cleanup_amul = [
|
||||
# Neither operation overflows so we can keep the amul.
|
||||
(('amul', ('amul', a, '#b'), '#c'), ('amul', a, ('imul', b, c))),
|
||||
|
||||
# Result of u2u64 has zero in upper half, so the shift doesn't overflow, so
|
||||
# neither multiplication overflows.
|
||||
(('amul', ('ishl', ('u2u64', 'a@32'), '#b(is_ult_32)'), '#c'),
|
||||
('amul', ('u2u64', a), ('ishl', c, b))),
|
||||
]
|
||||
|
||||
fuse_lea = []
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue