nir/opt_algebraic: add more 64-bit patterns
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:
@@ -1963,6 +1963,9 @@ optimizations.extend([
|
||||
(('u2u32', ('iadd(is_used_once)', 'a@64', b)),
|
||||
('iadd', ('u2u32', a), ('u2u32', b))),
|
||||
|
||||
(('u2u32', ('imul(is_used_once)', 'a@64', b)),
|
||||
('imul', ('u2u32', a), ('u2u32', b))),
|
||||
|
||||
# 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)),
|
||||
|
Reference in New Issue
Block a user