mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
nir/opt_algebraic: add another 64-bit pattern
clpeak Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31964>
This commit is contained in:
parent
2a3f133fd0
commit
227026b7ad
1 changed files with 2 additions and 0 deletions
|
|
@ -1966,6 +1966,8 @@ optimizations.extend([
|
|||
(('u2u32', ('imul(is_used_once)', 'a@64', b)),
|
||||
('imul', ('u2u32', a), ('u2u32', b))),
|
||||
|
||||
(('u2f32', ('u2u64', 'a@32')), ('u2f32', a)),
|
||||
|
||||
# Redundant trip through 8-bit
|
||||
(('i2i16', ('u2u8', ('iand', 'a@16', 1))), ('iand', 'a@16', 1)),
|
||||
(('u2u16', ('u2u8', ('iand', 'a@16', 1))), ('iand', 'a@16', 1)),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue